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




commit f9fd7f9a47e9c4ce75ba5bf542b019586d963497
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]