From dc8537f6861721d37f9bafb3f335ba864ab2f854 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 14 Mar 2005 18:45:24 +0000 Subject: Fix the build. 2005-03-14 Christian Persch * src/ephy-window.c: (setup_multimedia_key_actions): Fix the build. --- src/ephy-window.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 ("/", 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); } -- cgit v1.2.3