GtkComboBoxText requires GTK+ 2.24, dump code for older versions
This commit is contained in:
@@ -685,14 +685,14 @@ dcc_detail_label (char *text, GtkWidget *box, int num)
|
||||
static void
|
||||
dcc_exp_cb (GtkWidget *exp, GtkWidget *box)
|
||||
{
|
||||
#if GTK_CHECK_VERSION(2,20,0)
|
||||
if (gtk_widget_get_visible (box))
|
||||
#else
|
||||
if (GTK_WIDGET_VISIBLE (box))
|
||||
#endif
|
||||
{
|
||||
gtk_widget_hide (box);
|
||||
}
|
||||
else
|
||||
{
|
||||
gtk_widget_show (box);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user