From e4a8f3080f3b8c66db8269b5a7cdc844da51cd3c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 15 Feb 2007 18:04:15 +0000 Subject: [PATCH] Fix compile warnings. 2007-02-15 Carlos Garcia Campos * shell/ev-page-action-widget.c: * shell/ev-navigation-action.c: * shell/ev-window.c: Fix compile warnings. svn path=/trunk/; revision=2329 --- ChangeLog | 8 ++++++++ shell/ev-navigation-action.c | 4 ++-- shell/ev-page-action-widget.c | 4 ++-- shell/ev-window.c | 4 ++-- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0997dc71..a6114052 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-02-15 Carlos Garcia Campos + + * shell/ev-page-action-widget.c: + * shell/ev-navigation-action.c: + * shell/ev-window.c: + + Fix compile warnings. + 2007-02-15 Carlos Garcia Campos * backend/djvu/djvu-text.h: diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index cbed9fb8..dd4e38e8 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -61,7 +61,7 @@ ev_navigation_action_set_history (EvNavigationAction *action, action->priv->history = history; g_object_add_weak_pointer (G_OBJECT (action->priv->history), - (gpointer *) &action->priv->history); + (gpointer) &action->priv->history); } static void @@ -219,7 +219,7 @@ ev_navigation_action_finalize (GObject *object) if (action->priv->history) { g_object_add_weak_pointer (G_OBJECT (action->priv->history), - (gpointer *) &action->priv->history); + (gpointer) &action->priv->history); } G_OBJECT_CLASS (ev_navigation_action_parent_class)->finalize (object); diff --git a/shell/ev-page-action-widget.c b/shell/ev-page-action-widget.c index 5cd1054f..0212fce7 100644 --- a/shell/ev-page-action-widget.c +++ b/shell/ev-page-action-widget.c @@ -60,14 +60,14 @@ ev_page_action_widget_set_page_cache (EvPageActionWidget *action_widget, { if (action_widget->page_cache != NULL) { g_object_remove_weak_pointer (G_OBJECT (action_widget->page_cache), - (gpointer *)&action_widget->page_cache); + (gpointer)&action_widget->page_cache); action_widget->page_cache = NULL; } if (page_cache != NULL) { action_widget->page_cache = page_cache; g_object_add_weak_pointer (G_OBJECT (page_cache), - (gpointer *)&action_widget->page_cache); + (gpointer)&action_widget->page_cache); } } diff --git a/shell/ev-window.c b/shell/ev-window.c index 10e2a5cc..b9d6dfe0 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1157,7 +1157,7 @@ ev_window_popup_password_dialog (EvWindow *ev_window) gtk_window_set_transient_for (GTK_WINDOW (ev_window->priv->password_dialog), GTK_WINDOW (ev_window)); g_object_add_weak_pointer (G_OBJECT (ev_window->priv->password_dialog), - (gpointer *) &(ev_window->priv->password_dialog)); + (gpointer) &(ev_window->priv->password_dialog)); g_signal_connect (ev_window->priv->password_dialog, "response", G_CALLBACK (password_dialog_response), @@ -2372,7 +2372,7 @@ ev_window_cmd_file_properties (GtkAction *action, EvWindow *ev_window) ev_properties_dialog_set_document (EV_PROPERTIES_DIALOG (ev_window->priv->properties), ev_window->priv->document); g_object_add_weak_pointer (G_OBJECT (ev_window->priv->properties), - (gpointer *) &(ev_window->priv->properties)); + (gpointer) &(ev_window->priv->properties)); gtk_window_set_transient_for (GTK_WINDOW (ev_window->priv->properties), GTK_WINDOW (ev_window)); } -- 2.43.5