mirror of
https://github.com/transmission/transmission
synced 2025-02-20 21:26:53 +00:00
(trunk gtk) revise r8945 to compile OK on gtk < 2.16
This commit is contained in:
parent
9101f64684
commit
07d1773bbd
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue