diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-08 13:46:20 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-08 14:11:29 -0400 |
commit | 2d5b44703cf80f8731606def434fb379eb424432 (patch) | |
tree | 7827ce682243317b5d0c7b9b8b40f8f84cbcd9b5 /gtk | |
parent | 19c6ef38feba24c645a0deb9b7f5a1b929bb97d1 (diff) | |
download | gtk+-2d5b44703cf80f8731606def434fb379eb424432.tar.gz |
placessidebar: We're not a listbox anymore
The placessidebar used to derive from GtkListBox,
but it doesn't anymore. There was one case leftover,
leading to criticals during bookmark DND.
Diffstat (limited to 'gtk')
-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 f66bb0a265..531dd0e176 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -1636,7 +1636,7 @@ stop_drop_feedback (GtkPlacesSidebar *sidebar) if (sidebar->row_placeholder != NULL) { if (gtk_widget_get_parent (sidebar->row_placeholder) != NULL) - gtk_list_box_remove (GTK_LIST_BOX (sidebar), sidebar->row_placeholder); + gtk_list_box_remove (GTK_LIST_BOX (sidebar->list_box), sidebar->row_placeholder); sidebar->row_placeholder = NULL; } |