forked from AuroraMiddleware/gtk
gtk-demo: Fix expander demo
GtkExpander is not a GtkBox anymore, so use the new gtk_expander_set_child() API.
This commit is contained in:
parent
8d9a3de65a
commit
fede7cd81c
@ -79,7 +79,7 @@ do_expander (GtkWidget *do_widget)
|
||||
"innuendo, just to make you scroll down or "
|
||||
"resize the window. Do it already !", -1);
|
||||
gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (sw), tv);
|
||||
gtk_box_append (GTK_BOX (expander), sw);
|
||||
gtk_expander_set_child (GTK_EXPANDER (expander), sw);
|
||||
gtk_box_append (GTK_BOX (area), expander);
|
||||
g_signal_connect (expander, "notify::expanded",
|
||||
G_CALLBACK (expander_cb), window);
|
||||
|
Loading…
Reference in New Issue
Block a user