[nautilus/wip/gbsneto/compile-warnings: 2/5] pathbar: remove deprecated push/pop functions



commit eadff47499f21372cc5d9e3e97acd5a61d815bbc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Sep 22 13:56:08 2016 -0300

    pathbar: remove deprecated push/pop functions
    
    According to the Gtk+ documentation, those methods never
    worked well and they effectively do nothing on this code
    anymore.

 src/nautilus-pathbar.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 54b344f..93c5221 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -214,8 +214,6 @@ get_slider_button (NautilusPathBar *path_bar,
 {
     GtkWidget *button;
 
-    gtk_widget_push_composite_child ();
-
     button = gtk_button_new ();
     gtk_widget_set_focus_on_click (button, FALSE);
     gtk_widget_add_events (button, GDK_SCROLL_MASK);
@@ -224,8 +222,6 @@ get_slider_button (NautilusPathBar *path_bar,
     gtk_container_add (GTK_CONTAINER (path_bar), button);
     gtk_widget_show_all (button);
 
-    gtk_widget_pop_composite_child ();
-
     return button;
 }
 
@@ -2179,8 +2175,6 @@ nautilus_path_bar_update_path (NautilusPathBar *path_bar,
 
     file = nautilus_file_get (file_path);
 
-    gtk_widget_push_composite_child ();
-
     while (file != NULL)
     {
         NautilusFile *parent_file;
@@ -2215,8 +2209,6 @@ nautilus_path_bar_update_path (NautilusPathBar *path_bar,
         button = BUTTON_DATA (l->data)->button;
         gtk_container_add (GTK_CONTAINER (path_bar), button);
     }
-
-    gtk_widget_pop_composite_child ();
 }
 
 void


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