aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-link-action.c9
-rw-r--r--src/ephy-link-action.h4
3 files changed, 14 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d31f4873..1ad59e1ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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!
+
+2006-01-31 Christian Persch <chpe@cvs.gnome.org>
+
* data/epiphany-service.xml:
* src/ephy-activation.c: (ephy_activation_load_uris):
* src/ephy-activation.h:
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);
}
diff --git a/src/ephy-link-action.h b/src/ephy-link-action.h
index 7dbc5794c..bac32dd45 100644
--- a/src/ephy-link-action.h
+++ b/src/ephy-link-action.h
@@ -66,11 +66,11 @@ struct _EphyLinkActionGroupClass
GtkActionGroupClass parent_class;
};
-GType ephy_link_action_get_type (void);
+GType ephy_link_action_get_type (void);
GType ephy_link_action_group_get_type (void);
-EphyLinkActionGroup * ephy_link_action_group_new (char *name);
+EphyLinkActionGroup * ephy_link_action_group_new (const char *name);
G_END_DECLS