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:
committed by
Kristian Rietveld
parent
a1808a8ef3
commit
faaf7814a4
@ -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>
|
2006-10-15 Paolo Borelli <pborelli@katamail.com>
|
||||||
|
|
||||||
* gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
|
* gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
|
||||||
|
|||||||
@ -1111,7 +1111,7 @@ main (int argc, char **argv)
|
|||||||
|
|
||||||
model = create_empty_list_blaat ();
|
model = create_empty_list_blaat ();
|
||||||
combobox = gtk_combo_box_new_with_model (model);
|
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);
|
G_CALLBACK (populate_list_blaat), combobox);
|
||||||
|
|
||||||
gtk_combo_box_set_add_tearoffs (GTK_COMBO_BOX (combobox), TRUE);
|
gtk_combo_box_set_add_tearoffs (GTK_COMBO_BOX (combobox), TRUE);
|
||||||
|
|||||||
Reference in New Issue
Block a user