diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-04-25 23:19:27 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-25 23:42:04 +0800 |
commit | afe1d97399538c8a5dedb18cf51ced4c8bb36203 (patch) | |
tree | ab41cce1eda5b89464847c4b151ab8a6c2416a80 /modules | |
parent | d4ae41915c2c0d63249aedf5bf1edc19f0bffed1 (diff) | |
download | gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.tar gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.tar.gz gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.tar.bz2 gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.tar.lz gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.tar.xz gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.tar.zst gsoc2013-evolution-afe1d97399538c8a5dedb18cf51ced4c8bb36203.zip |
EMemoShellSidebar: Remove unused "status-message" signal.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/calendar/e-memo-shell-sidebar.c | 21 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-sidebar.h | 4 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-view-private.c | 5 |
3 files changed, 0 insertions, 30 deletions
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c index f270ce39e1..85a105c600 100644 --- a/modules/calendar/e-memo-shell-sidebar.c +++ b/modules/calendar/e-memo-shell-sidebar.c @@ -73,7 +73,6 @@ enum { enum { CLIENT_ADDED, CLIENT_REMOVED, - STATUS_MESSAGE, LAST_SIGNAL }; @@ -202,15 +201,6 @@ memo_shell_sidebar_emit_client_removed (EMemoShellSidebar *memo_shell_sidebar, } static void -memo_shell_sidebar_emit_status_message (EMemoShellSidebar *memo_shell_sidebar, - const gchar *status_message) -{ - guint signal_id = signals[STATUS_MESSAGE]; - - g_signal_emit (memo_shell_sidebar, signal_id, 0, status_message, -1.0); -} - -static void memo_shell_sidebar_handle_connect_error (EActivity *activity, const gchar *unique_display_name, const GError *error) @@ -700,17 +690,6 @@ e_memo_shell_sidebar_class_init (EMemoShellSidebarClass *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 (EMemoShellSidebarClass, 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-memo-shell-sidebar.h b/modules/calendar/e-memo-shell-sidebar.h index 37f1b40fd1..c9441c7155 100644 --- a/modules/calendar/e-memo-shell-sidebar.h +++ b/modules/calendar/e-memo-shell-sidebar.h @@ -76,10 +76,6 @@ struct _EMemoShellSidebarClass { void (*client_removed) (EMemoShellSidebar *memo_shell_sidebar, ECalClient *client); - void (*status_message) - (EMemoShellSidebar *memo_shell_sidebar, - const gchar *status_message, - gdouble percent); }; GType e_memo_shell_sidebar_get_type (void); diff --git a/modules/calendar/e-memo-shell-view-private.c b/modules/calendar/e-memo-shell-view-private.c index a84a44134d..48fe8e0574 100644 --- a/modules/calendar/e-memo-shell-view-private.c +++ b/modules/calendar/e-memo-shell-view-private.c @@ -291,11 +291,6 @@ e_memo_shell_view_private_constructed (EMemoShellView *memo_shell_view) memo_shell_view); g_signal_connect_swapped ( - memo_shell_sidebar, "status-message", - G_CALLBACK (e_memo_shell_view_set_status_message), - memo_shell_view); - - g_signal_connect_swapped ( selector, "popup-event", G_CALLBACK (memo_shell_view_selector_popup_event_cb), memo_shell_view); |