notify: Remove unused g_object_notify_queue_clear()
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>
Thu, 22 Jul 2010 07:02:18 +0000 (09:02 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2010 19:56:20 +0000 (21:56 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=166020

gobject/gobjectnotifyqueue.c

index 0fddf6f..fe82831 100644 (file)
@@ -127,17 +127,6 @@ g_object_notify_queue_thaw (GObject            *object,
 }
 
 static inline void
-g_object_notify_queue_clear (GObject            *object,
-                            GObjectNotifyQueue *nqueue)
-{
-  g_return_if_fail (nqueue->freeze_count > 0);
-
-  g_slist_free (nqueue->pspecs);
-  nqueue->pspecs = NULL;
-  nqueue->n_pspecs = 0;
-}
-
-static inline void
 g_object_notify_queue_add (GObject            *object,
                           GObjectNotifyQueue *nqueue,
                           GParamSpec         *pspec)