aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-03-15 02:45:24 +0800
committerChristian Persch <chpe@src.gnome.org>2005-03-15 02:45:24 +0800
commitdc8537f6861721d37f9bafb3f335ba864ab2f854 (patch)
tree43166d7665dd6b0638ab474500a6a2b4d98d938d /src
parentcf6aa33a55708514144f27220b71a66adb8232a3 (diff)
downloadgsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.tar
gsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.tar.gz
gsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.tar.bz2
gsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.tar.lz
gsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.tar.xz
gsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.tar.zst
gsoc2013-epiphany-dc8537f6861721d37f9bafb3f335ba864ab2f854.zip
Fix the build.
2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_multimedia_key_actions): Fix the build.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index dc7681e22..859801e72 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -366,7 +366,7 @@ static const struct
const char *name;
guint keyval;
GCallback callback;
-} const multimedia_actions [] = {
+} xf_key_actions [] = {
{ "XFKeyHomePage", XF86XK_HomePage, G_CALLBACK (window_cmd_go_home ) },
{ "XFKeyBack", XF86XK_Back, G_CALLBACK (window_cmd_go_back ) },
{ "XFKeyForward", XF86XK_Forward, G_CALLBACK (window_cmd_go_forward ) },
@@ -1110,17 +1110,17 @@ setup_multimedia_key_actions (EphyWindow *window)
agname = gtk_action_group_get_name (action_group);
- for (i = 0; i < G_N_ELEMENTS (multimedia_actions); i++)
+ for (i = 0; i < G_N_ELEMENTS (xf_key_actions); i++)
{
- name = multimedia_actions[i].name;
+ name = xf_key_actions[i].name;
action = g_object_new (GTK_TYPE_ACTION, "name", name, NULL);
g_signal_connect (action, "activate",
- multimedia_actions[i].callback, window);
+ xf_key_actions[i].callback, window);
accel_path = g_strconcat ("<Actions>/", agname, "/", name, NULL);
gtk_action_set_accel_path (action, accel_path);
- gtk_accel_map_add_entry (accel_path, multimedia_actions[i].keyval, 0);
+ gtk_accel_map_add_entry (accel_path, xf_key_actions[i].keyval, 0);
gtk_action_group_add_action (action_group, action);
g_free (accel_path);
}