diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-15 11:58:29 +0100 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-20 16:08:21 +0100 |
commit | a5fe3fef7bb671bae57ede84c0895e1c08a466dc (patch) | |
tree | 46a46a6a866db2db3dc9951defc64cbda9261168 /gtk/gtkappchooserdialog.c | |
parent | 183bf8ac9dfac28f31f9f5fb4dfcb2150d1d9fb1 (diff) | |
download | gtk+-a5fe3fef7bb671bae57ede84c0895e1c08a466dc.tar.gz |
appchooserdialog: use new GLib API to modify positioning
The dialog will always show up with the last selected application.
Diffstat (limited to 'gtk/gtkappchooserdialog.c')
-rw-r--r-- | gtk/gtkappchooserdialog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkappchooserdialog.c b/gtk/gtkappchooserdialog.c index 60532bb278..09f575a765 100644 --- a/gtk/gtkappchooserdialog.c +++ b/gtk/gtkappchooserdialog.c @@ -234,9 +234,9 @@ add_or_find_application (GtkAppChooserDialog *self) app = gtk_app_chooser_get_app_info (GTK_APP_CHOOSER (self)); /* we don't care about reporting errors here */ - g_app_info_add_supports_type (app, - self->priv->content_type, - NULL); + g_app_info_set_as_last_used_for_type (app, + self->priv->content_type, + NULL); g_object_unref (app); } |