[gtk/matthiasc/for-master] placessidebar: We're not a listbox anymore



commit 6ff19c07e29b97ac244bd72250ceb9e9b47a6e28
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 8 13:46:20 2020 -0400

    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.

 gtk/gtkplacessidebar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]