diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-04-25 22:13:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-25 23:42:04 +0800 |
commit | 3a0b447047afec2e00d36be56d0a2e325e2b7af1 (patch) | |
tree | d9c2e4f702b820be7ce90fc16556380a7e7660cf /modules/calendar | |
parent | d39a6e140208ea2261a88fda5dc1b174c9dde4a6 (diff) | |
download | gsoc2013-evolution-3a0b447047afec2e00d36be56d0a2e325e2b7af1.tar.gz gsoc2013-evolution-3a0b447047afec2e00d36be56d0a2e325e2b7af1.tar.zst gsoc2013-evolution-3a0b447047afec2e00d36be56d0a2e325e2b7af1.zip |
ECalShellSidebar: Remove unused "status-message" signal.
Diffstat (limited to 'modules/calendar')
-rw-r--r-- | modules/calendar/e-cal-shell-sidebar.c | 20 | ||||
-rw-r--r-- | 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 2c069fec80..632a3eb43c 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 17ccb48df4..f751e61892 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); |