summaryrefslogtreecommitdiff
path: root/gtk/gtktoolitem.c
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 /gtk/gtktoolitem.c
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 'gtk/gtktoolitem.c')
-rw-r--r--gtk/gtktoolitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c
index 143e904b79..70ee769174 100644
--- a/gtk/gtktoolitem.c
+++ b/gtk/gtktoolitem.c
@@ -1199,7 +1199,7 @@ gtk_tool_item_set_use_drag_window (GtkToolItem *toolitem,
if (!toolitem->priv->drag_window && GTK_WIDGET_REALIZED (toolitem))
{
create_drag_window(toolitem);
- if (GTK_WIDGET_MAPPED (toolitem))
+ if (gtk_widget_get_mapped (GTK_WIDGET (toolitem)))
gdk_window_show (toolitem->priv->drag_window);
}
}