[evolution/gnome-3-8] EMemoShellSidebar: Remove unused "status-message" signal.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-8] EMemoShellSidebar: Remove unused "status-message" signal.
- Date: Thu, 25 Apr 2013 16:13:18 +0000 (UTC)
commit deb403ba87a6fcc70725a630f10729f5dbb79a40
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Apr 25 11:19:27 2013 -0400
EMemoShellSidebar: Remove unused "status-message" signal.
(cherry picked from commit afe1d97399538c8a5dedb18cf51ced4c8bb36203)
modules/calendar/e-memo-shell-sidebar.c | 21 ---------------------
modules/calendar/e-memo-shell-sidebar.h | 4 ----
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 65b6f2b..4e0b723 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 37f1b40..c9441c7 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 a84a441..48fe8e0 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]