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



commit 80fb5269367c5ff703f3ae0dbb869330d65b6df0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Apr 25 11:20:11 2013 -0400

    ETaskShellSidebar: Remove unused "status-message" signal.

 modules/calendar/e-task-shell-sidebar.c      |   21 ---------------------
 modules/calendar/e-task-shell-sidebar.h      |    4 ----
 modules/calendar/e-task-shell-view-private.c |    5 -----
 3 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/modules/calendar/e-task-shell-sidebar.c b/modules/calendar/e-task-shell-sidebar.c
index b037a67..8009436 100644
--- a/modules/calendar/e-task-shell-sidebar.c
+++ b/modules/calendar/e-task-shell-sidebar.c
@@ -73,7 +73,6 @@ enum {
 enum {
        CLIENT_ADDED,
        CLIENT_REMOVED,
-       STATUS_MESSAGE,
        LAST_SIGNAL
 };
 
@@ -202,15 +201,6 @@ task_shell_sidebar_emit_client_removed (ETaskShellSidebar *task_shell_sidebar,
 }
 
 static void
-task_shell_sidebar_emit_status_message (ETaskShellSidebar *task_shell_sidebar,
-                                        const gchar *status_message)
-{
-       guint signal_id = signals[STATUS_MESSAGE];
-
-       g_signal_emit (task_shell_sidebar, signal_id, 0, status_message, -1.0);
-}
-
-static void
 task_shell_sidebar_handle_connect_error (EActivity *activity,
                                          const gchar *unique_display_name,
                                          const GError *error)
@@ -700,17 +690,6 @@ e_task_shell_sidebar_class_init (ETaskShellSidebarClass *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 (ETaskShellSidebarClass, status_message),
-               NULL, NULL,
-               e_marshal_VOID__STRING_DOUBLE,
-               G_TYPE_NONE, 2,
-               G_TYPE_STRING,
-               G_TYPE_DOUBLE);
 }
 
 static void
diff --git a/modules/calendar/e-task-shell-sidebar.h b/modules/calendar/e-task-shell-sidebar.h
index bc50b77..c92d21f 100644
--- a/modules/calendar/e-task-shell-sidebar.h
+++ b/modules/calendar/e-task-shell-sidebar.h
@@ -76,10 +76,6 @@ struct _ETaskShellSidebarClass {
        void            (*client_removed)
                                        (ETaskShellSidebar *task_shell_sidebar,
                                         ECalClient *client);
-       void            (*status_message)
-                                       (ETaskShellSidebar *task_shell_sidebar,
-                                        const gchar *status_message,
-                                        gdouble percent);
 };
 
 GType          e_task_shell_sidebar_get_type   (void);
diff --git a/modules/calendar/e-task-shell-view-private.c b/modules/calendar/e-task-shell-view-private.c
index a3e29c9..67f4e26 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -358,11 +358,6 @@ e_task_shell_view_private_constructed (ETaskShellView *task_shell_view)
                task_shell_view, G_CONNECT_SWAPPED);
 
        g_signal_connect_object (
-               task_shell_sidebar, "status-message",
-               G_CALLBACK (e_task_shell_view_set_status_message),
-               task_shell_view, G_CONNECT_SWAPPED);
-
-       g_signal_connect_object (
                selector, "popup-event",
                G_CALLBACK (task_shell_view_selector_popup_event_cb),
                task_shell_view, G_CONNECT_SWAPPED);


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