summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ephy-file-helpers.c18
-rw-r--r--lib/ephy-file-helpers.h2
2 files changed, 0 insertions, 20 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)
{
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h
index d36783579..e5dd72990 100644
--- a/lib/ephy-file-helpers.h
+++ b/lib/ephy-file-helpers.h
@@ -67,8 +67,6 @@ GSList * ephy_file_find (const char *path,
gboolean ephy_file_switch_temp_file (GFile *file_dest,
GFile *file_temp);
void ephy_file_delete_on_exit (GFile *file);
-void ephy_file_add_recent_item (const char *uri,
- const char *mime_type);
EphyMimePermission ephy_file_check_mime (const char *mime_type);
gboolean ephy_file_launch_desktop_file (const char *filename,
const char *parameter,