Skip to content

Commit

Permalink
links: 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 c41f9bb commit d971fd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demos/ctk-demo/links.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

static void
response_cb (CtkWidget *dialog,
gint response_id,
gpointer data)
gint response_id G_GNUC_UNUSED,
gpointer data G_GNUC_UNUSED)
{
ctk_widget_destroy (dialog);
}

static gboolean
activate_link (CtkWidget *label,
const gchar *uri,
gpointer data)
gpointer data G_GNUC_UNUSED)
{
if (g_strcmp0 (uri, "keynav") == 0)
{
Expand Down

0 comments on commit d971fd4

Please sign in to comment.