mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 18:00:09 +00:00
Fix compilation warning: use entry var correctly initilized
The warning was added in
commit c744594b20
This commit is contained in:
parent
7b7f8f1e5d
commit
6750ffebc8
@ -316,11 +316,11 @@ do_search_entry (GtkWidget *do_widget)
|
|||||||
/* Create the menu */
|
/* Create the menu */
|
||||||
menu = create_search_menu (entry);
|
menu = create_search_menu (entry);
|
||||||
gtk_menu_attach_to_widget (GTK_MENU (menu), entry, NULL);
|
gtk_menu_attach_to_widget (GTK_MENU (menu), entry, NULL);
|
||||||
}
|
|
||||||
|
|
||||||
/* add accessible alternatives for icon functionality */
|
/* add accessible alternatives for icon functionality */
|
||||||
g_signal_connect (entry, "populate-popup",
|
g_signal_connect (entry, "populate-popup",
|
||||||
G_CALLBACK (entry_populate_popup), NULL);
|
G_CALLBACK (entry_populate_popup), NULL);
|
||||||
|
}
|
||||||
|
|
||||||
if (!gtk_widget_get_visible (window))
|
if (!gtk_widget_get_visible (window))
|
||||||
gtk_widget_show_all (window);
|
gtk_widget_show_all (window);
|
||||||
|
Loading…
Reference in New Issue
Block a user