Skip to content

Commit

Permalink
testpopupat: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Nov 3, 2024
1 parent a19b464 commit fa47591
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/testpopupat.c
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#include <ctk/ctk.h>

static void
destroy_cb (CtkWidget *window,
CtkBuilder *builder)
destroy_cb (CtkWidget *window G_GNUC_UNUSED,
CtkBuilder *builder G_GNUC_UNUSED)
{
ctk_main_quit ();
}

static void
populate_popup_cb (CtkAppChooserWidget *app_chooser_widget,
populate_popup_cb (CtkAppChooserWidget *app_chooser_widget G_GNUC_UNUSED,
CtkMenu *menu,
GAppInfo *app_info,
gpointer user_data)
GAppInfo *app_info G_GNUC_UNUSED,
gpointer user_data G_GNUC_UNUSED)
{
CtkWidget *menu_item;

Expand Down

0 comments on commit fa47591

Please sign in to comment.