[glib] notify: Remove unused g_object_notify_queue_clear()



commit 0201a81f04ae5fd46c6db25859e90dde1fc35d4b
Author: Olivier Crête <olivier crete collabora co uk>
Date:   Thu Jul 22 09:02:18 2010 +0200

    notify: Remove unused g_object_notify_queue_clear()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=166020

 gobject/gobjectnotifyqueue.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gobject/gobjectnotifyqueue.c b/gobject/gobjectnotifyqueue.c
index 0fddf6f..fe82831 100644
--- a/gobject/gobjectnotifyqueue.c
+++ b/gobject/gobjectnotifyqueue.c
@@ -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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]