summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-06 12:02:21 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:59:03 -0400
commita602ff82eb5f2d3c048e0f2c088c519d23cb94eb (patch)
tree32156c5599f0c1f32c576187ee546604fec09c1d /gtk/gtkassistant.c
parente082783fbbe61ae2592dfb24f52569a05bc05c4d (diff)
downloadgtk+-a602ff82eb5f2d3c048e0f2c088c519d23cb94eb.tar.gz
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
Use new API instead: gtk_widget_set_mapped () https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r--gtk/gtkassistant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index f6feb38ac3..1e2c3ce432 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1235,7 +1235,7 @@ gtk_assistant_map (GtkWidget *widget)
GList *page_node;
GtkAssistantPage *page;
- GTK_WIDGET_SET_FLAGS (widget, GTK_MAPPED);
+ gtk_widget_set_mapped (widget, TRUE);
gtk_widget_map (priv->header_image);
gtk_widget_map (priv->action_area);
@@ -1271,7 +1271,7 @@ gtk_assistant_unmap (GtkWidget *widget)
GtkAssistant *assistant = GTK_ASSISTANT (widget);
GtkAssistantPrivate *priv = assistant->priv;
- GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED);
+ gtk_widget_set_mapped (widget, FALSE);
gtk_widget_unmap (priv->header_image);
gtk_widget_unmap (priv->action_area);