diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-01 22:22:20 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-04 22:53:07 -0400 |
commit | 8e261056b9c3fd5027bfb0a980c06b78624475a8 (patch) | |
tree | f2f182ca38d5ea7ab7f6c4443c9de471196333aa /tests/testtooltips.c | |
parent | ee284a560ae14621dd55fb9cdd1b412acb101014 (diff) | |
download | gtk+-8e261056b9c3fd5027bfb0a980c06b78624475a8.tar.gz |
Use gtk_popover_set_child throughout
Replace all uses of gtk_container_add on popovers
by gtk_popover_set_child.
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r-- | tests/testtooltips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c index 84c40e445f..8696427e2f 100644 --- a/tests/testtooltips.c +++ b/tests/testtooltips.c @@ -424,7 +424,7 @@ main (int argc, char *argv[]) popover = gtk_popover_new (); gtk_menu_button_set_popover (GTK_MENU_BUTTON (button), popover); box2 = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); - gtk_container_add (GTK_CONTAINER (popover), box2); + gtk_popover_set_child (GTK_POPOVER (popover), box2); button = gtk_label_new ("Hidden here"); custom = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5); |