Skip to content

Commit

Permalink
file chooser: Drop unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Clasen committed Jun 17, 2015
1 parent 916cf8f commit 8612942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
9 changes: 0 additions & 9 deletions gtk/gtkfilechooserwidget.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,9 @@ struct _GtkFileChooserWidgetPrivate {
GtkWidget *save_widgets_table;

/* The file browsing widgets */
GtkWidget *browse_widgets_box;
GtkWidget *browse_widgets_hpaned;
GtkWidget *browse_header_revealer;
GtkWidget *browse_header_box;
GtkWidget *browse_header_stack;
GtkWidget *browse_files_box;
GtkWidget *browse_files_stack;
GtkWidget *browse_files_tree_view;
GtkWidget *browse_files_popup_menu;
Expand All @@ -230,7 +227,6 @@ struct _GtkFileChooserWidgetPrivate {
GtkWidget *browse_files_popup_menu_open_folder_item;
GtkWidget *browse_files_popup_menu_sort_directories_item;
GtkWidget *browse_new_folder_button;
GtkWidget *browse_path_bar_hbox;
GtkSizeGroup *browse_path_bar_size_group;
GtkWidget *browse_path_bar;
GtkWidget *new_folder_name_entry;
Expand Down Expand Up @@ -7497,18 +7493,13 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
"/org/gtk/libgtk/ui/gtkfilechooserwidget.ui");

/* A *lot* of widgets that we need to handle .... */
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_widgets_box);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_widgets_hpaned);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_files_box);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_files_stack);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_widgets_box);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, places_sidebar);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_files_tree_view);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_header_revealer);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_header_box);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_header_stack);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_new_folder_button);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_path_bar_hbox);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_path_bar_size_group);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, browse_path_bar);
gtk_widget_class_bind_template_child_private (widget_class, GtkFileChooserWidget, filter_combo_hbox);
Expand Down
6 changes: 3 additions & 3 deletions gtk/ui/gtkfilechooserwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
</packing>
</child>
<child>
<object class="GtkBox" id="browse_files_box">
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkRevealer" id="browse_header_revealer">
<property name="visible">True</property>
<property name="hexpand">True</property>
<child>
<object class="GtkBox" id="browse_header_box">
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">12</property>
Expand All @@ -53,7 +53,7 @@
<property name="can_focus">True</property>
<property name="transition-type">crossfade</property>
<child>
<object class="GtkBox" id="browse_path_bar_hbox">
<object class="GtkBox">
<property name="visible">True</property>
<property name="spacing">6</property>
<property name="border_width">6</property>
Expand Down

0 comments on commit 8612942

Please sign in to comment.