diff options
author | Philip Withnall <pwithnall@svn.gnome.org> | 2007-06-27 12:55:51 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@src.gnome.org> | 2007-06-27 12:55:51 +0000 |
commit | 14e9b2fbc569232e834a676b2e77b36a0f839918 (patch) | |
tree | 4e68e6e654d55861213cda9afdb0a85747f8c921 /src/totem-open-location.c | |
parent | 5db64213c6056076bd37f57ad2795f0b68d81bce (diff) | |
download | totem-14e9b2fbc569232e834a676b2e77b36a0f839918.tar.gz |
Convert to using gtk_recent_manager_get_default, as the per-screen
2007-06-27 Philip Withnall <pwithnall@svn.gnome.org>
* src/totem-menu.c: (totem_setup_recent):
* src/totem-open-location.c: (totem_open_location_new): Convert
to
using gtk_recent_manager_get_default, as the per-screen
constructor
is now deprecated. (Closes: #449225)
svn path=/trunk/; revision=4397
Diffstat (limited to 'src/totem-open-location.c')
-rw-r--r-- | src/totem-open-location.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/totem-open-location.c b/src/totem-open-location.c index a2da484cb..6188d763c 100644 --- a/src/totem-open-location.c +++ b/src/totem-open-location.c @@ -189,8 +189,7 @@ totem_open_location_new (Totem *totem) model = GTK_TREE_MODEL (gtk_list_store_new (1, G_TYPE_STRING)); gtk_entry_set_completion (GTK_ENTRY (open_location->priv->uri_entry), completion); - recent_items = gtk_recent_manager_get_items (gtk_recent_manager_get_for_screen ( - gtk_widget_get_screen (GTK_WIDGET (open_location)))); + recent_items = gtk_recent_manager_get_items (gtk_recent_manager_get_default ()); if (recent_items != NULL) { |