summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/font_features.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-07 14:23:36 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-11 22:21:39 -0400
commit932aa58237d5162c1e499dab4bb54adb4cabb970 (patch)
tree128d2aa9204729e06fb8d6e32ea506655bd9ab7e /demos/gtk-demo/font_features.c
parent5cda824784321b4780808a39985e7cb57044dfbb (diff)
downloadgtk+-932aa58237d5162c1e499dab4bb54adb4cabb970.tar.gz
Avoid container api on grids
GtkContainer is going away.
Diffstat (limited to 'demos/gtk-demo/font_features.c')
-rw-r--r--demos/gtk-demo/font_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/font_features.c b/demos/gtk-demo/font_features.c
index 818164d5f3..07f343e70e 100644
--- a/demos/gtk-demo/font_features.c
+++ b/demos/gtk-demo/font_features.c
@@ -1038,7 +1038,7 @@ update_font_variations (void)
child = gtk_widget_get_first_child (variations_grid);
while ((child = gtk_widget_get_first_child (variations_grid)))
- gtk_container_remove (GTK_CONTAINER (variations_grid), child);
+ gtk_grid_remove (GTK_GRID (variations_grid), child);
instance_combo = NULL;