aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-04-25 23:20:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-04-25 23:42:04 +0800
commit80fb5269367c5ff703f3ae0dbb869330d65b6df0 (patch)
tree69683bc59ce6f59113e5049214e28177becbf5ec /modules/calendar
parent532e24fe115fa35f496b12415d539685f12c63d0 (diff)
downloadgsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.tar
gsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.tar.gz
gsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.tar.bz2
gsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.tar.lz
gsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.tar.xz
gsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.tar.zst
gsoc2013-evolution-80fb5269367c5ff703f3ae0dbb869330d65b6df0.zip
ETaskShellSidebar: Remove unused "status-message" signal.
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-task-shell-sidebar.c21
-rw-r--r--modules/calendar/e-task-shell-sidebar.h4
-rw-r--r--modules/calendar/e-task-shell-view-private.c5
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 b037a67934..800943627c 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
};
@@ -202,15 +201,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)
@@ -700,17 +690,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 bc50b77f62..c92d21fd68 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 a3e29c9ad3..67f4e263c5 100644
--- a/modules/calendar/e-task-shell-view-private.c
+++ b/modules/calendar/e-task-shell-view-private.c
@@ -358,11 +358,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);