summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/converter/support.c2
-rw-r--r--plugins/gtkui/support.c2
-rw-r--r--plugins/shellexecui/support.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/converter/support.c b/plugins/converter/support.c
index b3816098..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
diff --git a/plugins/gtkui/support.c b/plugins/gtkui/support.c
index b3816098..c0d93fe4 100644
--- a/plugins/gtkui/support.c
+++ b/plugins/gtkui/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
diff --git a/plugins/shellexecui/support.c b/plugins/shellexecui/support.c
index b3816098..c0d93fe4 100644
--- a/plugins/shellexecui/support.c
+++ b/plugins/shellexecui/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