[evolution] GalViewCollection: Remove unused "display-view" signal.



commit 8abe1f3203ff41ad3349924b931dbcc5ef255acd
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jul 5 08:28:32 2013 -0400

    GalViewCollection: Remove unused "display-view" signal.
    
    Removed functions:
    
      gal_view_collection_display_view()

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/gal-view-collection.c                       |   31 --------------------
 e-util/gal-view-collection.h                       |    7 ----
 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 b622f98..bddebd5 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 2a48f03..dc890f9 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 0457a19..7903668 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,


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