diff --git a/gtk/actions.c b/gtk/actions.c index d47cc62a8..b0f68dfb6 100644 --- a/gtk/actions.c +++ b/gtk/actions.c @@ -302,7 +302,10 @@ action_sensitize( const char * name, void action_set_important( const char * name, gboolean b ) { - gtk_action_set_is_important( get_action( name ), b ); + GtkAction * action = get_action( name ); + + g_assert( action != NULL ); + g_object_set( action, "is-important", b, NULL ); } void