]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkframe.c
Deprecate widget flag: GTK_WIDGET_MAPPED
[~andy/gtk] / gtk / gtkframe.c
index 3e09e7bb07054387578b66931ee6c3c3e381ae0b..ce0143515b4363317338797ab07276bdaaeb859c 100644 (file)
@@ -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 ||