summaryrefslogtreecommitdiff
path: root/gtk/gtkviewport.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-01-07 16:47:35 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:56:29 -0400
commit04aba4bde28d002a97940129784ef96f2fcc6e55 (patch)
treea70de8b74deca6473f2ec058ae5f9e39b962283b /gtk/gtkviewport.c
parent126133a9273705c7130e4d7e57c83c8ad4479858 (diff)
downloadgtk+-04aba4bde28d002a97940129784ef96f2fcc6e55.tar.gz
Deprecate widget flag: GTK_WIDGET_DRAWABLE
Use gtk_widget_is_drawable() instead. https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r--gtk/gtkviewport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index d650a4029e..b4411cfb27 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -671,7 +671,7 @@ static void
gtk_viewport_paint (GtkWidget *widget,
GdkRectangle *area)
{
- if (GTK_WIDGET_DRAWABLE (widget))
+ if (gtk_widget_is_drawable (widget))
{
GtkViewport *viewport = GTK_VIEWPORT (widget);
@@ -688,7 +688,7 @@ gtk_viewport_expose (GtkWidget *widget,
{
GtkViewport *viewport;
- if (GTK_WIDGET_DRAWABLE (widget))
+ if (gtk_widget_is_drawable (widget))
{
viewport = GTK_VIEWPORT (widget);