From 6750ffebc87c81ffd497c7632cc6bf113e24e8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 9 Mar 2010 17:14:50 +0100 Subject: [PATCH] Fix compilation warning: use entry var correctly initilized The warning was added in commit c744594b2099d03af6b7654de6c8ed5565acd1a9 --- demos/gtk-demo/search_entry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demos/gtk-demo/search_entry.c b/demos/gtk-demo/search_entry.c index 4a726f5ce9..580dd13f6c 100644 --- a/demos/gtk-demo/search_entry.c +++ b/demos/gtk-demo/search_entry.c @@ -316,11 +316,11 @@ do_search_entry (GtkWidget *do_widget) /* Create the menu */ menu = create_search_menu (entry); gtk_menu_attach_to_widget (GTK_MENU (menu), entry, NULL); - } - /* add accessible alternatives for icon functionality */ - g_signal_connect (entry, "populate-popup", - G_CALLBACK (entry_populate_popup), NULL); + /* add accessible alternatives for icon functionality */ + g_signal_connect (entry, "populate-popup", + G_CALLBACK (entry_populate_popup), NULL); + } if (!gtk_widget_get_visible (window)) gtk_widget_show_all (window);