[evolution] ECalShellSidebar: Remove unused "status-message" signal.



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

    ECalShellSidebar: Remove unused "status-message" signal.

 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 2c069fe..632a3eb 100644
--- a/modules/calendar/e-cal-shell-sidebar.c
+++ b/modules/calendar/e-cal-shell-sidebar.c
@@ -75,7 +75,6 @@ enum {
 enum {
        CLIENT_ADDED,
        CLIENT_REMOVED,
-       STATUS_MESSAGE,
        LAST_SIGNAL
 };
 
@@ -204,15 +203,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)
@@ -760,16 +750,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 17ccb48..f751e61 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]