diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-02 05:19:28 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-03 20:19:03 +0100 |
commit | 1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (patch) | |
tree | 6e161718bd71eaec8c358f9eb83c2a40c9835278 /gtk/gtkfilechooserdialog.c | |
parent | f4d9c7be2b8d76c720ae8c38ca27f7618f5bf029 (diff) | |
download | gtk+-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/gtkfilechooserdialog.c')
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index 11b6dea31d..43a11ce037 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -200,7 +200,7 @@ file_chooser_widget_default_size_changed (GtkWidget *widget, gtk_window_resize (GTK_WINDOW (dialog), default_width, default_height); - if (!GTK_WIDGET_MAPPED (dialog)) + if (!gtk_widget_get_mapped (GTK_WIDGET (dialog))) { #if 0 /* FIXME: the code to restore the position does not work yet. It is not @@ -358,7 +358,7 @@ gtk_file_chooser_dialog_map (GtkWidget *widget) ensure_default_response (dialog); - if (!GTK_WIDGET_MAPPED (priv->widget)) + if (!gtk_widget_get_mapped (priv->widget)) gtk_widget_map (priv->widget); _gtk_file_chooser_embed_initial_focus (GTK_FILE_CHOOSER_EMBED (priv->widget)); |