diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-02 08:25:22 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-07 01:18:24 +0800 |
commit | d337ce9fedc74f7499536657bf82c2ee0bb57b0f (patch) | |
tree | b5db00dc4c06aa1ca98bb522a122e661a1e96bf0 /lib/ephy-file-helpers.c | |
parent | 0f66b831e586467ae2aec78ca6658f6de971b930 (diff) | |
download | gsoc2013-epiphany-d337ce9fedc74f7499536657bf82c2ee0bb57b0f.tar.gz gsoc2013-epiphany-d337ce9fedc74f7499536657bf82c2ee0bb57b0f.tar.zst gsoc2013-epiphany-d337ce9fedc74f7499536657bf82c2ee0bb57b0f.zip |
e-file-helpers: remove ephy_file_add_recent_item
It's a two-line save, and there are no users of this API.
https://bugzilla.gnome.org/show_bug.cgi?id=673337
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r-- | lib/ephy-file-helpers.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index bc6940194..34b2d33e7 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -584,24 +584,6 @@ ephy_file_delete_on_exit (GFile *file) /* does nothing now */ } -/** - * ephy_file_add_recent_item: - * @uri: an URI - * @mime_type: the mime type corresponding to @uri - * - * Adds @uri to the default #GtkRecentManager, with @mime_type as its type. - **/ -void -ephy_file_add_recent_item (const char *uri, - const char *mime_type) -{ - GtkRecentManager *manager = gtk_recent_manager_get_default (); - - g_return_if_fail (mime_type != NULL && uri != NULL); - - gtk_recent_manager_add_item (manager, uri); -} - static void load_mime_from_xml (void) { |