aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2006-01-18 02:54:32 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2006-01-18 02:54:32 +0800
commitf81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377 (patch)
tree9bf35ea0a30bf7c1c5823e56bc084e7e2f9a5ada /src/ephy-tab.c
parentce161c639c50899f3b720e31a55397542e6a6a4c (diff)
downloadgsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar.gz
gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar.zst
gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.zip
Change the 'ephy_embed_event_get_property' function return a GValue*
2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_get_property): * embed/ephy-embed-event.h: * embed/mozilla/mozilla-embed-event.cpp: * src/ephy-tab.c: (save_property_url), (ephy_tab_dom_mouse_click_cb): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/epiphany.defs: * src/epiphany.override: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_bookmark_link), (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_open_link), (popup_cmd_set_image_as_background), (popup_cmd_copy_image_location), (popup_cmd_open_image): Change the 'ephy_embed_event_get_property' function return a GValue* rather than taking a pointer to it as an argument.
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 3d7a5dce0..838e192bf 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1870,7 +1870,7 @@ save_property_url (EphyEmbed *embed,
const GValue *value;
EphyEmbedPersist *persist;
- ephy_embed_event_get_property (event, property, &value);
+ value = ephy_embed_event_get_property (event, property);
location = g_value_get_string (value);
persist = EPHY_EMBED_PERSIST
@@ -1951,7 +1951,7 @@ ephy_tab_dom_mouse_click_cb (EphyEmbed *embed,
const GValue *value;
const char *link_address;
- ephy_embed_event_get_property (event, "link", &value);
+ value = ephy_embed_event_get_property (event, "link");
link_address = g_value_get_string (value);
handled = open_link_in_new_tab (tab, link_address);
}