aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-link-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-02-01 04:24:39 +0800
committerChristian Persch <chpe@src.gnome.org>2006-02-01 04:24:39 +0800
commit97f88e3bb6d66dabe61c8ddaffedb940d5281aeb (patch)
tree21ab1d3fad64cfba3623f2894a2022088a3f3763 /src/ephy-link-action.c
parent0541bcb1e3d64c8ebbd9d514641917def2515f97 (diff)
downloadgsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.tar
gsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.tar.gz
gsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.tar.bz2
gsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.tar.lz
gsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.tar.xz
gsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.tar.zst
gsoc2013-epiphany-97f88e3bb6d66dabe61c8ddaffedb940d5281aeb.zip
Fix link action group creating to really use the given name!
2006-01-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-link-action.c: (ephy_link_action_group_new): * src/ephy-link-action.h: Fix link action group creating to really use the given name!
Diffstat (limited to 'src/ephy-link-action.c')
-rw-r--r--src/ephy-link-action.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ephy-link-action.c b/src/ephy-link-action.c
index f5be71675..3a3543221 100644
--- a/src/ephy-link-action.c
+++ b/src/ephy-link-action.c
@@ -32,7 +32,7 @@
#include <gtk/gtkmenuitem.h>
#include <gtk/gtkmenutoolbutton.h>
-static GObjectClass *parent_class = NULL;
+static GObjectClass *parent_class;
static gboolean
proxy_button_press_event_cb (GtkButton *button,
@@ -236,8 +236,9 @@ ephy_link_action_group_get_type (void)
}
EphyLinkActionGroup *
-ephy_link_action_group_new (char * name)
+ephy_link_action_group_new (const char * name)
{
- return EPHY_LINK_ACTION_GROUP (g_object_new (EPHY_TYPE_LINK_ACTION_GROUP,
- "name", "BookmarkActions", NULL));
+ return g_object_new (EPHY_TYPE_LINK_ACTION_GROUP,
+ "name", name,
+ NULL);
}