[gthumb] Remove unused viewer_pages code from gth-main (now in gth-browser).
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb] Remove unused viewer_pages code from gth-main (now in gth-browser).
- Date: Mon, 4 Jan 2010 12:49:41 +0000 (UTC)
commit 5e33ed7d7fcec60028edcbc642a15c6f57f73993
Author: Kevin Daughtridge <kevin kdau com>
Date: Tue Dec 29 18:41:07 2009 -0800
Remove unused viewer_pages code from gth-main (now in gth-browser).
gthumb/gth-main.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/gthumb/gth-main.c b/gthumb/gth-main.c
index 34a29b8..7e875de 100644
--- a/gthumb/gth-main.c
+++ b/gthumb/gth-main.c
@@ -99,7 +99,6 @@ struct _GthMainPrivate
gboolean metadata_info_sorted;
GHashTable *sort_types;
GHashTable *loaders;
- GList *viewer_pages;
GHashTable *types;
GHashTable *classes;
GHashTable *objects_order;
@@ -121,7 +120,6 @@ gth_main_finalize (GObject *object)
if (gth_main->priv != NULL) {
_g_object_list_unref (gth_main->priv->file_sources);
- _g_object_list_unref (gth_main->priv->viewer_pages);
g_ptr_array_free (gth_main->priv->metadata_category, TRUE);
g_ptr_array_free (gth_main->priv->metadata_info, TRUE);
@@ -844,27 +842,6 @@ gth_main_add_general_filter (GthTest *original_filter)
}
-void
-gth_main_register_viewer_page (GType viewer_page_type)
-{
- GObject *viewer_page;
-
- g_static_mutex_lock (®ister_mutex);
-
- viewer_page = g_object_new (viewer_page_type, NULL);
- Main->priv->viewer_pages = g_list_prepend (Main->priv->viewer_pages, viewer_page);
-
- g_static_mutex_unlock (®ister_mutex);
-}
-
-
-GList *
-gth_main_get_all_viewer_pages (void)
-{
- return Main->priv->viewer_pages;
-}
-
-
static void
_g_destroy_array (GArray *array)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]