Skip to content

Commit

Permalink
baul-window: add G_GNUC_UNUSED in unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0w committed Jan 20, 2025
1 parent d3c5e5f commit f4c759c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/baul-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,10 +609,10 @@ baul_window_constructed (GObject *self)
}

static void
baul_window_set_property (GObject *object,
guint arg_id,
const GValue *value,
GParamSpec *pspec)
baul_window_set_property (GObject *object,
guint arg_id,
const GValue *value,
GParamSpec *pspec G_GNUC_UNUSED)
{
BaulWindow *window;

Expand All @@ -627,10 +627,10 @@ baul_window_set_property (GObject *object,
}

static void
baul_window_get_property (GObject *object,
guint arg_id,
GValue *value,
GParamSpec *pspec)
baul_window_get_property (GObject *object,
guint arg_id,
GValue *value,
GParamSpec *pspec G_GNUC_UNUSED)
{
switch (arg_id)
{
Expand Down Expand Up @@ -1399,8 +1399,8 @@ load_view_as_menu (BaulWindow *window)
}

static void
load_view_as_menus_callback (BaulFile *file,
gpointer callback_data)
load_view_as_menus_callback (BaulFile *file G_GNUC_UNUSED,
gpointer callback_data)
{
BaulWindow *window;
BaulWindowSlot *slot;
Expand Down Expand Up @@ -1537,8 +1537,8 @@ baul_window_sync_zoom_widgets (BaulWindow *window)
}

static void
zoom_level_changed_callback (BaulView *view,
BaulWindow *window)
zoom_level_changed_callback (BaulView *view G_GNUC_UNUSED,
BaulWindow *window)
{
g_assert (BAUL_IS_WINDOW (window));

Expand Down Expand Up @@ -1919,7 +1919,7 @@ baul_get_history_list (void)
}

static GList *
baul_window_get_history (BaulWindow *window)
baul_window_get_history (BaulWindow *window G_GNUC_UNUSED)
{
return g_list_copy_deep (history_list, (GCopyFunc) g_object_ref, NULL);
}
Expand Down

0 comments on commit f4c759c

Please sign in to comment.