aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-19 07:41:01 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-19 07:41:01 +0800
commit15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0 (patch)
treee1e4668b9a725cd483f87ef3b82861724430b2d6 /embed/ephy-embed.c
parent87dbe3ba52b623a2fc97caef8b5d26527426057b (diff)
downloadgsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.tar
gsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.tar.gz
gsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.tar.bz2
gsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.tar.lz
gsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.tar.xz
gsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.tar.zst
gsoc2013-epiphany-15cbf0f2d0ad71ed66edb1ca3d44d3beb96d49a0.zip
Re-use some more signals from GtkMozEmbed; fix getter_Copies usage in
2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_link_message_cb): * src/ephy-nautilus-view.h: * src/ephy-tab.c: (ephy_tab_set_link_message), (ephy_tab_link_message_cb), (ephy_tab_init): Re-use some more signals from GtkMozEmbed; fix getter_Copies usage in mozilla-embed.cpp. Fixes bug #127335.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c34
1 files changed, 14 insertions, 20 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 5d124c653..b95be8c7d 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -95,16 +95,6 @@ ephy_embed_base_init (gpointer g_class)
2,
G_TYPE_POINTER,
G_TYPE_INT);
- ephy_embed_signals[LINK_MESSAGE] =
- g_signal_new ("ge_link_message",
- EPHY_TYPE_EMBED,
- G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (EphyEmbedClass, link_message),
- NULL, NULL,
- g_cclosure_marshal_VOID__STRING,
- G_TYPE_NONE,
- 1,
- G_TYPE_STRING);
ephy_embed_signals[CONTEXT_MENU] =
g_signal_new ("ge_context_menu",
EPHY_TYPE_EMBED,
@@ -125,16 +115,6 @@ ephy_embed_base_init (gpointer g_class)
G_TYPE_NONE,
1,
G_TYPE_STRING);
- ephy_embed_signals[JS_STATUS] =
- g_signal_new ("ge_js_status",
- EPHY_TYPE_EMBED,
- G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (EphyEmbedClass, js_status),
- NULL, NULL,
- g_cclosure_marshal_VOID__STRING,
- G_TYPE_NONE,
- 1,
- G_TYPE_STRING);
ephy_embed_signals[LOCATION] =
g_signal_new ("ge_location",
EPHY_TYPE_EMBED,
@@ -298,6 +278,20 @@ ephy_embed_get_location (EphyEmbed *embed,
return klass->get_location (embed, toplevel);
}
+char *
+ephy_embed_get_link_message (EphyEmbed *embed)
+{
+ EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
+ return klass->get_link_message (embed);
+}
+
+char *
+ephy_embed_get_js_status (EphyEmbed *embed)
+{
+ EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
+ return klass->get_js_status (embed);
+}
+
void
ephy_embed_reload (EphyEmbed *embed,
EmbedReloadFlags flags)