diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:47:38 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 07:52:07 +0100 |
commit | 214a023e9160fa008db069f5ec10ce3a4999a4dc (patch) | |
tree | ad2e3c48e95a3264903ef29b9e12e88ffdfed0bc /gtk/gtkpixmap.c | |
parent | 4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (diff) | |
download | gtk+-214a023e9160fa008db069f5ec10ce3a4999a4dc.tar.gz |
Deprecate widget flag: GTK_WIDGET_VISIBLE
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkpixmap.c')
-rw-r--r-- | gtk/gtkpixmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpixmap.c b/gtk/gtkpixmap.c index 60e4bd0ed8..3f1a586f5e 100644 --- a/gtk/gtkpixmap.c +++ b/gtk/gtkpixmap.c @@ -135,7 +135,7 @@ gtk_pixmap_set (GtkPixmap *pixmap, GTK_WIDGET (pixmap)->requisition.width = 0; GTK_WIDGET (pixmap)->requisition.height = 0; } - if (GTK_WIDGET_VISIBLE (pixmap)) + if (gtk_widget_get_visible (GTK_WIDGET (pixmap))) { if ((GTK_WIDGET (pixmap)->requisition.width != oldwidth) || (GTK_WIDGET (pixmap)->requisition.height != oldheight)) @@ -235,7 +235,7 @@ gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap, gboolean build) pixmap->build_insensitive = build; - if (GTK_WIDGET_VISIBLE (pixmap)) + if (gtk_widget_get_visible (GTK_WIDGET (pixmap))) { gtk_widget_queue_draw (GTK_WIDGET (pixmap)); } |