mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
pathbar: Drop composite child API
Easiest fix so far.
This commit is contained in:
parent
c38834973c
commit
197d2d1d6b
|
@ -138,8 +138,6 @@ get_slider_button (NautilusPathBar *self,
|
|||
{
|
||||
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);
|
||||
|
@ -148,8 +146,6 @@ get_slider_button (NautilusPathBar *self,
|
|||
gtk_container_add (GTK_CONTAINER (self), button);
|
||||
gtk_widget_show_all (button);
|
||||
|
||||
gtk_widget_pop_composite_child ();
|
||||
|
||||
return button;
|
||||
}
|
||||
|
||||
|
@ -2075,8 +2071,6 @@ nautilus_path_bar_update_path (NautilusPathBar *self,
|
|||
|
||||
file = nautilus_file_get (file_path);
|
||||
|
||||
gtk_widget_push_composite_child ();
|
||||
|
||||
while (file != NULL)
|
||||
{
|
||||
NautilusFile *parent_file;
|
||||
|
@ -2111,8 +2105,6 @@ nautilus_path_bar_update_path (NautilusPathBar *self,
|
|||
container = BUTTON_DATA (l->data)->container;
|
||||
gtk_container_add (GTK_CONTAINER (self), container);
|
||||
}
|
||||
|
||||
gtk_widget_pop_composite_child ();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue