diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-02 05:19:28 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-03 20:19:03 +0100 |
commit | 1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (patch) | |
tree | 6e161718bd71eaec8c358f9eb83c2a40c9835278 /gtk/gtkviewport.c | |
parent | f4d9c7be2b8d76c720ae8c38ca27f7618f5bf029 (diff) | |
download | gtk+-1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988.tar.gz |
Deprecate widget flag: GTK_WIDGET_MAPPED
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r-- | gtk/gtkviewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index 5d707d96fc..d9e35fb0d2 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -761,7 +761,7 @@ gtk_viewport_size_allocate (GtkWidget *widget, /* If our size changed, and we have a shadow, queue a redraw on widget->window to * redraw the shadow correctly. */ - if (GTK_WIDGET_MAPPED (widget) && + if (gtk_widget_get_mapped (widget) && viewport->shadow_type != GTK_SHADOW_NONE && (widget->allocation.width != allocation->width || widget->allocation.height != allocation->height)) |