Commit b4b74a3c authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero

[PATCH 7/7] bgo543308 - Remove the default_width/height stuff, since we are not using it anymore

Signed-off-by: default avatarFederico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=21168
parent 967a6800
......@@ -5887,18 +5887,6 @@ gtk_file_chooser_default_size_allocate (GtkWidget *widget,
impl = GTK_FILE_CHOOSER_DEFAULT (widget);
GTK_WIDGET_CLASS (_gtk_file_chooser_default_parent_class)->size_allocate (widget, allocation);
impl->default_width = allocation->width;
impl->default_height = allocation->height;
if (impl->preview_widget_active &&
impl->preview_widget &&
GTK_WIDGET_DRAWABLE (impl->preview_widget))
impl->default_width -= impl->preview_widget->allocation.width + PREVIEW_HBOX_SPACING;
if (impl->extra_widget &&
GTK_WIDGET_DRAWABLE (impl->extra_widget))
impl->default_height -= GTK_BOX (widget)->spacing + impl->extra_widget->allocation.height;
}
static gboolean
......
......@@ -282,9 +282,6 @@ struct _GtkFileChooserDefault
GSource *shortcuts_drag_outside_idle;
#endif
gint default_width;
gint default_height;
/* Flags */
guint local_only : 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment