aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-16 00:46:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-16 00:46:32 +0800
commitedf71e7a156d8b2a1a42baa6758b5840f6c834c4 (patch)
treeafe4c91d09d54fd8d9133a009a0681bf62ad55d8
parent04305b8fa35d87d97e48b11f93d24604cef5155d (diff)
downloadgsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.tar
gsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.tar.gz
gsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.tar.bz2
gsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.tar.lz
gsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.tar.xz
gsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.tar.zst
gsoc2013-evolution-edf71e7a156d8b2a1a42baa6758b5840f6c834c4.zip
Fix a couple compiler warnings.
-rw-r--r--modules/calendar/e-cal-shell-content.c2
-rw-r--r--shell/e-shell-window.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/calendar/e-cal-shell-content.c b/modules/calendar/e-cal-shell-content.c
index bffa39a35e..da1a7ced41 100644
--- a/modules/calendar/e-cal-shell-content.c
+++ b/modules/calendar/e-cal-shell-content.c
@@ -204,7 +204,7 @@ cal_shell_content_dispose (GObject *object)
}
if (priv->calendar != NULL) {
- gnome_calendar_dispose (priv->calendar);
+ gnome_calendar_dispose (GNOME_CALENDAR (priv->calendar));
g_object_unref (priv->calendar);
priv->calendar = NULL;
}
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 283445766c..5513efbe95 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -541,8 +541,7 @@ shell_window_create_shell_view (EShellWindow *shell_window,
/* Register the GtkUIManager ID for the shell view. */
id = E_SHELL_VIEW_GET_CLASS (shell_view)->ui_manager_id;
ui_manager = e_shell_window_get_ui_manager (shell_window);
- e_plugin_ui_register_manager (
- E_UI_MANAGER (ui_manager), id, shell_view);
+ e_plugin_ui_register_manager (ui_manager, id, shell_view);
/* Add pages to the various shell window notebooks. */