[nautilus/wip/antoniof/gtk4-preparation-drop-outgoing-api: 15/19] pathbar: Drop gtk_widget_set_redraw_on_allocate()




commit 5166e954537a694a6cc144290b127c7378fd6c3e
Author: Ernestas Kulik <ernestask gnome org>
Date:   Wed Jul 11 13:27:47 2018 +0300

    pathbar: Drop gtk_widget_set_redraw_on_allocate()
    
    It's gone in GTK4 [1] and doesn't seem to make a difference in GTK3.
    
    [1] https://gitlab.gnome.org/GNOME/gtk/-/commit/a8a755e5cddc0f1736cc198301088310a6e26627

 src/nautilus-pathbar.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 68cd38639..a7e966732 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -242,7 +242,6 @@ nautilus_path_bar_init (NautilusPathBar *self)
     g_object_unref (builder);
 
     gtk_widget_set_has_window (GTK_WIDGET (self), FALSE);
-    gtk_widget_set_redraw_on_allocate (GTK_WIDGET (self), FALSE);
 
     gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (self)),
                                  GTK_STYLE_CLASS_LINKED);


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