Skip to content

Commit

Permalink
list_store: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Sep 19, 2024
1 parent b56ede2 commit 6e8c94a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions demos/ctk-demo/list_store.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static Bug data[] =
};

static gboolean
spinner_timeout (gpointer data)
spinner_timeout (gpointer data G_GNUC_UNUSED)
{
CtkTreeIter iter;
guint pulse;
Expand Down Expand Up @@ -128,7 +128,7 @@ create_model (void)
}

static void
fixed_toggled (CtkCellRendererToggle *cell,
fixed_toggled (CtkCellRendererToggle *cell G_GNUC_UNUSED,
gchar *path_str,
gpointer data)
{
Expand Down Expand Up @@ -230,9 +230,9 @@ add_columns (CtkTreeView *treeview)
}

static gboolean
window_closed (CtkWidget *widget,
CdkEvent *event,
gpointer user_data)
window_closed (CtkWidget *widget G_GNUC_UNUSED,
CdkEvent *event G_GNUC_UNUSED,
gpointer user_data G_GNUC_UNUSED)
{
model = NULL;
window = NULL;
Expand Down

0 comments on commit 6e8c94a

Please sign in to comment.