(trunk gtk) revise r8945 to compile OK on gtk < 2.16

This commit is contained in:
Charles Kerr 2009-08-16 03:25:58 +00:00
parent 9101f64684
commit 07d1773bbd
1 changed files with 4 additions and 1 deletions

View File

@ -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