summaryrefslogtreecommitdiff
path: root/tests/testassistant.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-01 07:47:38 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-01 07:52:07 +0100
commit214a023e9160fa008db069f5ec10ce3a4999a4dc (patch)
treead2e3c48e95a3264903ef29b9e12e88ffdfed0bc /tests/testassistant.c
parent4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (diff)
downloadgtk+-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 'tests/testassistant.c')
-rw-r--r--tests/testassistant.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testassistant.c b/tests/testassistant.c
index 91774e3651..33e06e363e 100644
--- a/tests/testassistant.c
+++ b/tests/testassistant.c
@@ -184,7 +184,7 @@ create_simple_assistant (GtkWidget *widget)
gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, TRUE);
}
- if (!GTK_WIDGET_VISIBLE (assistant))
+ if (!gtk_widget_get_visible (assistant))
gtk_widget_show (assistant);
else
{
@@ -277,7 +277,7 @@ create_generous_assistant (GtkWidget *widget)
G_CALLBACK (complete_cb), pdata);
}
- if (!GTK_WIDGET_VISIBLE (assistant))
+ if (!gtk_widget_get_visible (assistant))
gtk_widget_show (assistant);
else
{
@@ -374,7 +374,7 @@ create_nonlinear_assistant (GtkWidget *widget)
gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, TRUE);
}
- if (!GTK_WIDGET_VISIBLE (assistant))
+ if (!gtk_widget_get_visible (assistant))
gtk_widget_show (assistant);
else
{
@@ -471,7 +471,7 @@ create_looping_assistant (GtkWidget *widget)
gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), page, TRUE);
}
- if (!GTK_WIDGET_VISIBLE (assistant))
+ if (!gtk_widget_get_visible (assistant))
gtk_widget_show (assistant);
else
{
@@ -535,7 +535,7 @@ create_full_featured_assistant (GtkWidget *widget)
gtk_assistant_set_page_header_image (GTK_ASSISTANT (assistant), page, pixbuf);
}
- if (!GTK_WIDGET_VISIBLE (assistant))
+ if (!gtk_widget_get_visible (assistant))
gtk_widget_show (assistant);
else
{