diff options
Diffstat (limited to 'src/ephy-encoding-menu.c')
-rw-r--r-- | src/ephy-encoding-menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c index 58862fdda..37ddd6337 100644 --- a/src/ephy-encoding-menu.c +++ b/src/ephy-encoding-menu.c @@ -172,7 +172,7 @@ update_encoding_menu_cb (GtkAction *dummy, EphyEncodingMenu *menu) action = gtk_action_group_get_action (p->action_group, "ViewEncodingAutomatic"); gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), is_automatic); - g_object_set (G_OBJECT (action), "sensitive", !is_automatic, NULL); + gtk_action_set_sensitive (action, !is_automatic); /* set the encodings group's active member */ g_snprintf (name, sizeof (name), "Encoding%s", encoding); |