Skip to content

Commit

Permalink
lapiz-documents-panel: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Jun 2, 2024
1 parent 8f77042 commit 7a0aa6b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lapiz/lapiz-documents-panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ refresh_list (LapizDocumentsPanel *panel)

static void
sync_name_and_icon (LapizTab *tab,
GParamSpec *pspec,
GParamSpec *pspec G_GNUC_UNUSED,
LapizDocumentsPanel *panel)
{
GdkPixbuf *pixbuf;
Expand Down Expand Up @@ -270,7 +270,7 @@ window_tab_removed (LapizWindow *window,
}

static void
window_tab_added (LapizWindow *window,
window_tab_added (LapizWindow *window G_GNUC_UNUSED,
LapizTab *tab,
LapizDocumentsPanel *panel)
{
Expand Down Expand Up @@ -338,7 +338,7 @@ window_tab_added (LapizWindow *window,
}

static void
window_tabs_reordered (LapizWindow *window,
window_tabs_reordered (LapizWindow *window G_GNUC_UNUSED,
LapizDocumentsPanel *panel)
{
if (panel->priv->is_reodering)
Expand Down Expand Up @@ -375,7 +375,7 @@ set_window (LapizDocumentsPanel *panel,
}

static void
treeview_cursor_changed (CtkTreeView *view,
treeview_cursor_changed (CtkTreeView *view G_GNUC_UNUSED,
LapizDocumentsPanel *panel)
{
CtkTreeIter iter;
Expand Down Expand Up @@ -565,7 +565,7 @@ treeview_query_tooltip (CtkWidget *widget,
gint y,
gboolean keyboard_tip,
CtkTooltip *tooltip,
gpointer data)
gpointer data G_GNUC_UNUSED)
{
CtkTreeIter iter;
CtkTreeView *tree_view = CTK_TREE_VIEW (widget);
Expand Down Expand Up @@ -617,9 +617,9 @@ treeview_query_tooltip (CtkWidget *widget,
}

static void
treeview_row_inserted (CtkTreeModel *tree_model,
treeview_row_inserted (CtkTreeModel *tree_model G_GNUC_UNUSED,
CtkTreePath *path,
CtkTreeIter *iter,
CtkTreeIter *iter G_GNUC_UNUSED,
LapizDocumentsPanel *panel)
{
LapizTab *tab;
Expand Down

0 comments on commit 7a0aa6b

Please sign in to comment.