Skip to content

Commit

Permalink
lapiz-modeline-plugin: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Jun 12, 2024
1 parent 2ad9cf8 commit 29224b5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugins/modelines/lapiz-modeline-plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ lapiz_modeline_plugin_get_property (GObject *object,
}

static void
on_document_loaded_or_saved (LapizDocument *document,
const GError *error,
on_document_loaded_or_saved (LapizDocument *document G_GNUC_UNUSED,
const GError *error G_GNUC_UNUSED,
CtkSourceView *view)
{
modeline_parser_apply_modeline (view);
Expand Down Expand Up @@ -212,17 +212,17 @@ disconnect_handlers (LapizView *view)
}

static void
on_window_tab_added (LapizWindow *window,
on_window_tab_added (LapizWindow *window G_GNUC_UNUSED,
LapizTab *tab,
gpointer user_data)
gpointer user_data G_GNUC_UNUSED)
{
connect_handlers (lapiz_tab_get_view (tab));
}

static void
on_window_tab_removed (LapizWindow *window,
on_window_tab_removed (LapizWindow *window G_GNUC_UNUSED,
LapizTab *tab,
gpointer user_data)
gpointer user_data G_GNUC_UNUSED)
{
disconnect_handlers (lapiz_tab_get_view (tab));
}
Expand Down Expand Up @@ -300,7 +300,7 @@ lapiz_modeline_plugin_class_init (LapizModelinePluginClass *klass)
}

static void
lapiz_modeline_plugin_class_finalize (LapizModelinePluginClass *klass)
lapiz_modeline_plugin_class_finalize (LapizModelinePluginClass *klass G_GNUC_UNUSED)
{
/* dummy function - used by G_DEFINE_DYNAMIC_TYPE_EXTENDED */
}
Expand Down

0 comments on commit 29224b5

Please sign in to comment.