Merge branch 'gobjectnotifyqueue_unused' into 'main'

gobjectnotifyqueue: add G_GNUC_UNUSED in unused parameters

See merge request GNOME/glib!4188
This commit is contained in:
Michael Catanzaro 2024-08-13 14:28:47 +00:00
commit 7f6444cb79

View File

@ -140,7 +140,7 @@ g_object_notify_queue_thaw (GObject *object,
} }
static inline void static inline void
g_object_notify_queue_clear (GObject *object, g_object_notify_queue_clear (GObject *object G_GNUC_UNUSED,
GObjectNotifyQueue *nqueue) GObjectNotifyQueue *nqueue)
{ {
g_return_if_fail (nqueue->freeze_count > 0); g_return_if_fail (nqueue->freeze_count > 0);
@ -155,7 +155,7 @@ g_object_notify_queue_clear (GObject *object,
} }
static inline void static inline void
g_object_notify_queue_add (GObject *object, g_object_notify_queue_add (GObject *object G_GNUC_UNUSED,
GObjectNotifyQueue *nqueue, GObjectNotifyQueue *nqueue,
GParamSpec *pspec) GParamSpec *pspec)
{ {