[PATCH 11/13] cache: Get rid of dispose() method



Not used.

Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>
---
 src/grl-media-cache.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/grl-media-cache.c b/src/grl-media-cache.c
index 5192788..bf7e85a 100644
--- a/src/grl-media-cache.c
+++ b/src/grl-media-cache.c
@@ -107,8 +107,6 @@ struct _GrlMediaCachePrivate {
 
 static void grl_media_cache_finalize (GObject *object);
 
-static void grl_media_cache_dispose (GObject *object);
-
 static void grl_media_cache_get_property (GObject *object,
                                           guint prop_id,
                                           GValue *value,
@@ -127,7 +125,6 @@ grl_media_cache_class_init (GrlMediaCacheClass *cache_class)
   gobject_class = G_OBJECT_CLASS (cache_class);
 
   gobject_class->finalize = grl_media_cache_finalize;
-  gobject_class->dispose  = grl_media_cache_dispose;
 
   gobject_class->get_property = grl_media_cache_get_property;
 
@@ -162,13 +159,6 @@ grl_media_cache_init (GrlMediaCache *cache)
 }
 
 static void
-grl_media_cache_dispose (GObject *object)
-{
-  /* Unref all gobject elements */
-  /* Careful: it can be invoked several times */
-}
-
-static void
 grl_media_cache_finalize (GObject *object)
 {
   GrlMediaCache *cache = GRL_MEDIA_CACHE (object);
-- 
1.7.4



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