summaryrefslogtreecommitdiff
path: root/plugins/converter/support.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/converter/support.c')
-rw-r--r--plugins/converter/support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/converter/support.c b/plugins/converter/support.c
index 1eef6efc..c0d93fe4 100644
--- a/plugins/converter/support.c
+++ b/plugins/converter/support.c
@@ -145,7 +145,7 @@ glade_set_atk_action_description (AtkAction *action,
#if GTK_CHECK_VERSION(3,0,0)
GtkWidget *
gtk_combo_box_entry_new_text(void) {
- GtkWidget *w = gtk_combo_box_text_new_with_entry ();
+ return gtk_combo_box_text_new_with_entry ();
}
void
@@ -197,7 +197,7 @@ gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box) {
#endif
-#if !GTK_CHECK_VERSION(2,18,0) || defined(ULTRA_COMPATIBLE)
+#if !GTK_CHECK_VERSION(2,18,0)
void
gtk_widget_set_allocation (GtkWidget *widget, const GtkAllocation *allocation) {
widget->allocation.x = (allocation)->x;