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

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

svn path=/trunk/; revision=21168
This commit is contained in:
Federico Mena Quintero 2008-08-20 01:13:17 +00:00 committed by Federico Mena Quintero
parent 967a68008f
commit b4b74a3c6c
2 changed files with 0 additions and 15 deletions

View File

@ -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

View File

@ -282,9 +282,6 @@ struct _GtkFileChooserDefault
GSource *shortcuts_drag_outside_idle;
#endif
gint default_width;
gint default_height;
/* Flags */
guint local_only : 1;