[evolution/gnome-3-8] ECalShellSidebar: Remove unused "status-message" signal.



commit 003cf32830f70e0284a197cd46fbe6f1980221a3
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Apr 25 10:13:58 2013 -0400

    ECalShellSidebar: Remove unused "status-message" signal.
    
    (cherry picked from commit 3a0b447047afec2e00d36be56d0a2e325e2b7af1)

 modules/calendar/e-cal-shell-sidebar.c |   20 --------------------
 modules/calendar/e-cal-shell-sidebar.h |    3 ---
 2 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/modules/calendar/e-cal-shell-sidebar.c b/modules/calendar/e-cal-shell-sidebar.c
index 88cdea5..194002a 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -76,7 +76,6 @@ enum {
 enum {
        CLIENT_ADDED,
        CLIENT_REMOVED,
-       STATUS_MESSAGE,
        LAST_SIGNAL
 };
 
@@ -165,15 +164,6 @@ cal_shell_sidebar_emit_client_removed (ECalShellSidebar *cal_shell_sidebar,
 }
 
 static void
-cal_shell_sidebar_emit_status_message (ECalShellSidebar *cal_shell_sidebar,
-                                       const gchar *status_message)
-{
-       guint signal_id = signals[STATUS_MESSAGE];
-
-       g_signal_emit (cal_shell_sidebar, signal_id, 0, status_message);
-}
-
-static void
 cal_shell_sidebar_handle_connect_error (EActivity *activity,
                                         const gchar *unique_display_name,
                                         const GError *error)
@@ -756,16 +746,6 @@ e_cal_shell_sidebar_class_init (ECalShellSidebarClass *class)
                g_cclosure_marshal_VOID__OBJECT,
                G_TYPE_NONE, 1,
                E_TYPE_CAL_CLIENT);
-
-       signals[STATUS_MESSAGE] = g_signal_new (
-               "status-message",
-               G_OBJECT_CLASS_TYPE (object_class),
-               G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
-               G_STRUCT_OFFSET (ECalShellSidebarClass, status_message),
-               NULL, NULL,
-               g_cclosure_marshal_VOID__STRING,
-               G_TYPE_NONE, 1,
-               G_TYPE_STRING);
 }
 
 static void
diff --git a/modules/calendar/e-cal-shell-sidebar.h b/modules/calendar/e-cal-shell-sidebar.h
index c9be5f6..95c04d8 100644
--- a/modules/calendar/e-cal-shell-sidebar.h
+++ b/modules/calendar/e-cal-shell-sidebar.h
@@ -76,9 +76,6 @@ struct _ECalShellSidebarClass {
        void            (*client_removed)
                                        (ECalShellSidebar *cal_shell_sidebar,
                                         ECalClient *client);
-       void            (*status_message)
-                                       (ECalShellSidebar *cal_shell_sidebar,
-                                        const gchar *status_message);
 };
 
 GType          e_cal_shell_sidebar_get_type    (void);


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