Commit b1f056a8 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Remove the no longer needed workaround.

2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
	Remove the no longer needed workaround.
parent 2763b81f
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Remove the no longer needed workaround.
* gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
allocations of mapped children.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Add a bug reference.
......
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Remove the no longer needed workaround.
* gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
allocations of mapped children.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Add a bug reference.
......
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Remove the no longer needed workaround.
* gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
allocations of mapped children.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
Add a bug reference.
......
......@@ -670,8 +670,6 @@ gtk_file_chooser_default_init (GtkFileChooserDefault *impl)
impl->load_state = LOAD_EMPTY;
impl->pending_select_paths = NULL;
/* this is a workaround for bug #135903 */
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (impl), TRUE);
gtk_box_set_spacing (GTK_BOX (impl), 12);
impl->tooltips = gtk_tooltips_new ();
......
......@@ -2444,7 +2444,7 @@ widget_add_child_draw_rectangle (GtkWidget *widget,
{
GdkRectangle child_rect;
if (!GTK_WIDGET_REALIZED (widget) ||
if (!GTK_WIDGET_MAPPED (widget) ||
widget->window != widget->parent->window)
return;
......
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