diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-07-29 16:54:42 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-07-29 16:54:42 (GMT) |
commit | 4936778a72f9e17d3bc53d52754a6d1a8ad345df (patch) | |
tree | 27914ac015f2b3ecabcc2da2266b82c7cee99177 /shell/ev-navigation-action.c | |
parent | 322f098cf33173a47490ca5dd1091c8ca6bff74c (diff) |
Fix compile warnings.
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
* 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
Diffstat (limited to 'shell/ev-navigation-action.c')
-rw-r--r-- | shell/ev-navigation-action.c | 7 |
1 files changed, 3 insertions, 4 deletions
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); } |