Fix compilation warning: use entry var correctly initilized

The warning was added in
commit c744594b20
This commit is contained in:
Javier Jardón 2010-03-09 17:14:50 +01:00 committed by Tristan Van Berkom
parent 7b7f8f1e5d
commit 6750ffebc8

View File

@ -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);