aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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
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')
-rw-r--r--lib/ephy-file-helpers.c37
-rw-r--r--lib/ephy-file-helpers.h2
2 files changed, 0 insertions, 39 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);
-}
diff --git a/lib/ephy-file-helpers.h b/lib/ephy-file-helpers.h
index e5dd72990..4cd270f83 100644
--- a/lib/ephy-file-helpers.h
+++ b/lib/ephy-file-helpers.h
@@ -84,8 +84,6 @@ gboolean ephy_file_browse_to (GFile *file,
gboolean ephy_file_delete_dir_recursively (GFile *file,
GError **error);
void ephy_file_delete_uri (const char *uri);
-void ephy_file_load_accels (void);
-void ephy_file_save_accels (void);
G_END_DECLS