From 07d1773bbdbf36a0991461896a890164f9f09adc Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 16 Aug 2009 03:25:58 +0000 Subject: [PATCH] (trunk gtk) revise r8945 to compile OK on gtk < 2.16 --- gtk/actions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.40.0