1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-23 16:24:02 +00:00

fix r2553 gtk hiccup: use the `select all' stock icon iff gtk+ >= 2.10

This commit is contained in:
Charles Kerr 2007-07-30 18:11:34 +00:00
parent d209052051
commit cd3d2e1035

View file

@ -30,6 +30,10 @@ static void action_cb ( GtkAction * a, gpointer user_data )
#define GTK_STOCK_INFO GTK_STOCK_PROPERTIES #define GTK_STOCK_INFO GTK_STOCK_PROPERTIES
#endif #endif
#if !GTK_CHECK_VERSION(2,10,0)
#define GTK_STOCK_SELECT_ALL NULL
#endif
static GtkRadioActionEntry priority_toggle_entries[] = static GtkRadioActionEntry priority_toggle_entries[] =
{ {
{ "priority-high", NULL, N_("_High"), NULL, NULL, TR_PRI_HIGH }, { "priority-high", NULL, N_("_High"), NULL, NULL, TR_PRI_HIGH },