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




commit c56ccce7916f8b857e28e7616d4ef7de12f1b209
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 622686b47..5e3cdcb7c 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -241,7 +241,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]