forked from AuroraMiddleware/gtk
[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:
parent
967a68008f
commit
b4b74a3c6c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user