From 4936778a72f9e17d3bc53d52754a6d1a8ad345df Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 29 Jul 2007 16:54:42 +0000 Subject: Fix compile warnings. 2007-07-29 Carlos Garcia Campos * shell/ev-navigation-action.c: (ev_navigation_action_history_changed), (ev_navigation_action_set_history): * shell/ev-navigation-action-widget.c: (ev_navigation_action_widget_init): * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb): Fix compile warnings. svn path=/trunk/; revision=2596 --- (limited to 'shell/ev-navigation-action.c') diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index 3aa1bea..6a5e3a5 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -60,9 +60,8 @@ ev_navigation_action_history_changed (EvHistory *history, { EvNavigationAction *action = EV_NAVIGATION_ACTION (data); - gtk_action_set_sensitive (action, ev_history_get_n_links (history) > 0); - - return; + gtk_action_set_sensitive (GTK_ACTION (action), + ev_history_get_n_links (history) > 0); } void @@ -75,7 +74,7 @@ ev_navigation_action_set_history (EvNavigationAction *action, (gpointer) &action->priv->history); g_signal_connect_object (history, "changed", - ev_navigation_action_history_changed, + G_CALLBACK (ev_navigation_action_history_changed), action, 0); } -- cgit v0.9.1