connect to notify::popup-shown instead of popup-show (the latter does not

2006-10-18  Kristian Rietveld  <kris@imendio.com>

	* tests/testcombo.c (main): connect to notify::popup-shown instead of
	popup-show (the latter does not exist).
This commit is contained in:
Kristian Rietveld 2006-10-18 12:06:42 +00:00 committed by Kristian Rietveld
parent a1808a8ef3
commit faaf7814a4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-10-18 Kristian Rietveld <kris@imendio.com>
* tests/testcombo.c (main): connect to notify::popup-shown instead of
popup-show (the latter does not exist).
2006-10-15 Paolo Borelli <pborelli@katamail.com>
* gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.

View File

@ -1111,7 +1111,7 @@ main (int argc, char **argv)
model = create_empty_list_blaat ();
combobox = gtk_combo_box_new_with_model (model);
g_signal_connect (combobox, "popup-show",
g_signal_connect (combobox, "notify::popup-shown",
G_CALLBACK (populate_list_blaat), combobox);
gtk_combo_box_set_add_tearoffs (GTK_COMBO_BOX (combobox), TRUE);