aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-25 23:19:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-26 00:04:21 +0800
commitdeb403ba87a6fcc70725a630f10729f5dbb79a40 (patch)
tree32e749489e2fd99658f23921ce6d62e43e5cec8d
parentf0583e07f88fba4c25fa68b9de72f2d4f9b1edb5 (diff)
downloadgsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.tar
gsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.tar.gz
gsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.tar.bz2
gsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.tar.lz
gsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.tar.xz
gsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.tar.zst
gsoc2013-evolution-deb403ba87a6fcc70725a630f10729f5dbb79a40.zip
EMemoShellSidebar: Remove unused "status-message" signal.
(cherry picked from commit afe1d97399538c8a5dedb18cf51ced4c8bb36203)
-rw-r--r--modules/calendar/e-memo-shell-sidebar.c21
-rw-r--r--modules/calendar/e-memo-shell-sidebar.h4
-rw-r--r--modules/calendar/e-memo-shell-view-private.c5
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 65b6f2b2c8..4e0b723d62 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
};
@@ -162,15 +161,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)
@@ -661,17 +651,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);