aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-link-action.c9
-rw-r--r--src/ephy-link-action.h4
2 files changed, 7 insertions, 6 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);
}
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