Skip to content

Commit

Permalink
testsuite,ctk,spinbutton: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Nov 7, 2024
1 parent bd76288 commit 6ba359c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions testsuite/ctk/spinbutton.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
static gint value_changed_count;

static void
value_changed_cb (CtkSpinButton *spin)
value_changed_cb (CtkSpinButton *spin G_GNUC_UNUSED)
{
value_changed_count++;
}
Expand Down Expand Up @@ -40,7 +40,8 @@ test_value_changed (void)
static gint adjustment_changed_count;

static void
adjustment_changed_cb (GObject *object, GParamSpec *pspec)
adjustment_changed_cb (GObject *object G_GNUC_UNUSED,
GParamSpec *pspec G_GNUC_UNUSED)
{
adjustment_changed_count++;
}
Expand Down

0 comments on commit 6ba359c

Please sign in to comment.