5 #if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 24
7 GtkWidget *gtk_combo_box_text_new(void)
9 return gtk_combo_box_new();
12 void gtk_combo_box_text_append_text(GtkComboBoxText *combo_box,
15 gtk_combo_box_append_text(GTK_COMBO_BOX(combo_box), text);
18 void gtk_combo_box_text_insert_text(GtkComboBoxText *combo_box, gint position,
21 gtk_combo_box_insert_text(GTK_COMBO_BOX(combo_box), position, text);
24 void gtk_combo_box_text_prepend_text(GtkComboBoxText *combo_box,
27 gtk_combo_box_prepend_text(GTK_COMBO_BOX(combo_box), text);
30 gchar *gtk_combo_box_text_get_active_text(GtkComboBoxText *combo_box)
32 return gtk_combo_box_get_active_text(GTK_COMBO_BOX(combo_box));
37 #if GTK_MAJOR_VERSION < 3
39 guint gtk_widget_get_allocated_width(GtkWidget *w)
41 return w->allocation.width;
44 guint gtk_widget_get_allocated_height(GtkWidget *w)
46 return w->allocation.height;