From 562c54612f15f9bb2ccce53c9fb0e3e972dfe957 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 5 Jul 2013 08:42:33 -0400 Subject: GalViewCollection: Remove "title" member. It's set by EShellView but not actually used for anything. Removed functions: gal_view_collection_set_title() --- e-util/gal-view-collection.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'e-util/gal-view-collection.c') diff --git a/e-util/gal-view-collection.c b/e-util/gal-view-collection.c index dc890f9273..0e305309c1 100644 --- a/e-util/gal-view-collection.c +++ b/e-util/gal-view-collection.c @@ -165,9 +165,6 @@ gal_view_collection_dispose (GObject *object) g_free (collection->default_view); collection->default_view = NULL; - g_free (collection->title); - collection->title = NULL; - /* Chain up to parent's dispose() method. */ G_OBJECT_CLASS (gal_view_collection_parent_class)->dispose (object); } @@ -207,8 +204,6 @@ gal_view_collection_init (GalViewCollection *collection) collection->loaded = FALSE; collection->default_view = NULL; collection->default_view_built_in = TRUE; - - collection->title = NULL; } /** @@ -222,14 +217,6 @@ gal_view_collection_new (void) return g_object_new (GAL_TYPE_VIEW_COLLECTION, NULL); } -void -gal_view_collection_set_title (GalViewCollection *collection, - const gchar *title) -{ - g_free (collection->title); - collection->title = g_strdup (title); -} - /** * gal_view_collection_set_storage_directories * @collection: The view collection to initialize -- cgit v1.2.3