aboutsummaryrefslogtreecommitdiffstats
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
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!
-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