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



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

    ETaskShellSidebar: Remove unused "status-message" signal.
    
    (cherry picked from commit 80fb5269367c5ff703f3ae0dbb869330d65b6df0)

 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 db412a5..6bcd76f 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
 };
 
@@ -162,15 +161,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)
@@ -661,17 +651,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 56432d1..6a64a8d 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -348,11 +348,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]