aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-05 20:28:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:50 +0800
commit8abe1f3203ff41ad3349924b931dbcc5ef255acd (patch)
tree9be5c1cdaad1e217905692d854bb724b22c52992
parenta2e20af49304296b3c2b10305cb1312031107d55 (diff)
downloadgsoc2013-evolution-8abe1f3203ff41ad3349924b931dbcc5ef255acd.tar.gz
gsoc2013-evolution-8abe1f3203ff41ad3349924b931dbcc5ef255acd.tar.zst
gsoc2013-evolution-8abe1f3203ff41ad3349924b931dbcc5ef255acd.zip
GalViewCollection: Remove unused "display-view" signal.
Removed functions: gal_view_collection_display_view()
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/gal-view-collection.c31
-rw-r--r--e-util/gal-view-collection.h7
3 files changed, 0 insertions, 39 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index b622f98587..bddebd5ba3 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4593,7 +4593,6 @@ gal_view_collection_new
gal_view_collection_set_title
gal_view_collection_set_storage_directories
gal_view_collection_add_factory
-gal_view_collection_display_view
gal_view_collection_get_count
gal_view_collection_get_view
gal_view_collection_get_view_item
diff --git a/e-util/gal-view-collection.c b/e-util/gal-view-collection.c
index 2a48f03513..dc890f9273 100644
--- a/e-util/gal-view-collection.c
+++ b/e-util/gal-view-collection.c
@@ -43,32 +43,12 @@ G_DEFINE_TYPE (GalViewCollection, gal_view_collection, G_TYPE_OBJECT)
#define d(x)
enum {
- DISPLAY_VIEW,
CHANGED,
LAST_SIGNAL
};
static guint gal_view_collection_signals[LAST_SIGNAL] = { 0, };
-/**
- * gal_view_collection_display_view:
- * @collection: The GalViewCollection to send the signal on.
- * @view: The view to display.
- *
- */
-void
-gal_view_collection_display_view (GalViewCollection *collection,
- GalView *view)
-{
- g_return_if_fail (GAL_IS_VIEW_COLLECTION (collection));
- g_return_if_fail (GAL_IS_VIEW (view));
-
- g_signal_emit (
- collection,
- gal_view_collection_signals[DISPLAY_VIEW], 0,
- view);
-}
-
static void
gal_view_collection_changed (GalViewCollection *collection)
{
@@ -199,16 +179,6 @@ gal_view_collection_class_init (GalViewCollectionClass *class)
object_class->dispose = gal_view_collection_dispose;
- gal_view_collection_signals[DISPLAY_VIEW] = g_signal_new (
- "display_view",
- G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GalViewCollectionClass, display_view),
- NULL, NULL,
- g_cclosure_marshal_VOID__OBJECT,
- G_TYPE_NONE, 1,
- GAL_TYPE_VIEW);
-
gal_view_collection_signals[CHANGED] = g_signal_new (
"changed",
G_OBJECT_CLASS_TYPE (object_class),
@@ -218,7 +188,6 @@ gal_view_collection_class_init (GalViewCollectionClass *class)
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
- class->display_view = NULL;
class->changed = NULL;
}
diff --git a/e-util/gal-view-collection.h b/e-util/gal-view-collection.h
index 0457a19675..7903668a1c 100644
--- a/e-util/gal-view-collection.h
+++ b/e-util/gal-view-collection.h
@@ -81,8 +81,6 @@ struct _GalViewCollectionClass {
GObjectClass parent_class;
/* Signals */
- void (*display_view) (GalViewCollection *collection,
- GalView *view);
void (*changed) (GalViewCollection *collection);
};
@@ -114,11 +112,6 @@ void gal_view_collection_set_storage_directories
void gal_view_collection_add_factory (GalViewCollection *collection,
GalViewFactory *factory);
-/* Send the display view signal. This function is deprecated. */
-void gal_view_collection_display_view
- (GalViewCollection *collection,
- GalView *view);
-
/* Query the view collection. */
gint gal_view_collection_get_count (GalViewCollection *collection);
GalView * gal_view_collection_get_view (GalViewCollection *collection,