[evolution] Fix a couple compiler warnings.



commit edf71e7a156d8b2a1a42baa6758b5840f6c834c4
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Mar 15 12:46:32 2010 -0400

    Fix a couple compiler warnings.

 modules/calendar/e-cal-shell-content.c |    2 +-
 shell/e-shell-window.c                 |    3 +--
 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 bffa39a..da1a7ce 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 2834457..5513efb 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. */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]