summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 05:19:28 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-03 20:19:03 +0100
commit1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (patch)
tree6e161718bd71eaec8c358f9eb83c2a40c9835278 /examples
parentf4d9c7be2b8d76c720ae8c38ca27f7618f5bf029 (diff)
downloadgtk+-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 'examples')
-rw-r--r--examples/scribble-xinput/scribble-xinput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scribble-xinput/scribble-xinput.c b/examples/scribble-xinput/scribble-xinput.c
index 900a3ecd5e..697969e61a 100644
--- a/examples/scribble-xinput/scribble-xinput.c
+++ b/examples/scribble-xinput/scribble-xinput.c
@@ -169,7 +169,7 @@ create_input_dialog ()
}
else
{
- if (!GTK_WIDGET_MAPPED (inputd))
+ if (!gtk_widget_get_mapped (inputd))
gtk_widget_show (inputd);
else
gdk_window_raise (inputd->window);