X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkframe.c;h=ce0143515b4363317338797ab07276bdaaeb859c;hb=e53efb120ae5251b44d089ed6fe35f411a674dd4;hp=3e09e7bb07054387578b66931ee6c3c3e381ae0b;hpb=8c1f5dbc03dfe367917b39a7a3c70ba5a5612c0c;p=~andy%2Fgtk diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 3e09e7bb0..ce0143515 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -652,7 +652,7 @@ gtk_frame_size_allocate (GtkWidget *widget, /* If the child allocation changed, that means that the frame is drawn * in a new place, so we must redraw the entire widget. */ - if (GTK_WIDGET_MAPPED (widget) && + if (gtk_widget_get_mapped (widget) && (new_allocation.x != frame->child_allocation.x || new_allocation.y != frame->child_allocation.y || new_allocation.width != frame->child_allocation.width ||