aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppview-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppview-toolbar.c')
-rwxr-xr-xsrc/ppview-toolbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ppview-toolbar.c b/src/ppview-toolbar.c
index f2637252c..d2749094d 100755
--- a/src/ppview-toolbar.c
+++ b/src/ppview-toolbar.c
@@ -212,13 +212,13 @@ toolbar_update_sensitivity (PPViewToolbar *t)
c_page = t->priv->current_page;
action = gtk_action_group_get_action (action_group, "PPVGoBack");
- g_object_set (action, "sensitive", c_page > 1, NULL);
+ gtk_action_set_sensitive (action, c_page > 1);
action = gtk_action_group_get_action (action_group, "PPVGotoFirst");
- g_object_set (action, "sensitive", c_page > 1, NULL);
+ gtk_action_set_sensitive (action, c_page > 1);
action = gtk_action_group_get_action (action_group, "PPVGoForward");
- g_object_set (action, "sensitive", c_page < pages, NULL);
+ gtk_action_set_sensitive (action, c_page < pages);
action = gtk_action_group_get_action (action_group, "PPVGotoLast");
- g_object_set (action, "sensitive", c_page < pages, NULL);
+ gtk_action_set_sensitive (action, c_page < pages);
}
static void