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 /gtk/gtkplacessidebar.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 'gtk/gtkplacessidebar.c')
-rw-r--r-- | gtk/gtkplacessidebar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index dabe9470ef..6ba5cd3a5c 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -2296,7 +2296,7 @@ create_rename_popover (GtkPlacesSidebar *sidebar) g_signal_connect (popover, "destroy", G_CALLBACK (on_rename_popover_destroy), sidebar); gtk_popover_set_position (GTK_POPOVER (popover), GTK_POS_RIGHT); grid = gtk_grid_new (); - gtk_container_add (GTK_CONTAINER (popover), grid); + gtk_popover_set_child (GTK_POPOVER (popover), grid); g_object_set (grid, "margin-start", 10, "margin-end", 10, |