aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-04-26 11:19:16 +0800
committerWilliam Jon McCann <jmccann@redhat.com>2012-05-08 01:35:55 +0800
commit60a504dd7ad9f4b621181994c672344fd694fbde (patch)
treeaf42c18f1cdfa7b55165db5b424fbde8a1bada70 /lib/ephy-file-helpers.c
parent495f7fc6dc01184920266f6e0c7d8a7f16fc5db4 (diff)
downloadgsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.tar
gsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.tar.gz
gsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.tar.bz2
gsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.tar.lz
gsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.tar.xz
gsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.tar.zst
gsoc2013-epiphany-60a504dd7ad9f4b621181994c672344fd694fbde.zip
Drop the use of GTK accel maps
https://bugzilla.gnome.org/show_bug.cgi?id=674870
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index b940d4a7e..50e81f315 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -961,40 +961,3 @@ ephy_file_delete_uri (const char *uri)
}
g_object_unref (file);
}
-
-static gchar *
-get_accels_filename (void)
-{
- const char *home;
-
- home = g_get_home_dir();
- if (!home)
- return NULL;
- return g_build_filename (home, GNOME_DOT_GNOME, "accels", PACKAGE, NULL);
-}
-
-void
-ephy_file_load_accels (void)
-{
- char *filename;
-
- filename = get_accels_filename ();
- if (!filename)
- return;
-
- gtk_accel_map_load (filename);
- g_free (filename);
-}
-
-void
-ephy_file_save_accels (void)
-{
- char *filename;
-
- filename = get_accels_filename ();
- if (!filename)
- return;
-
- gtk_accel_map_save (filename);
- g_free (filename);
-}