diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2006-01-18 02:54:32 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2006-01-18 02:54:32 +0800 |
commit | f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377 (patch) | |
tree | 9bf35ea0a30bf7c1c5823e56bc084e7e2f9a5ada /src/ephy-window.c | |
parent | ce161c639c50899f3b720e31a55397542e6a6a4c (diff) | |
download | gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar.gz gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar.bz2 gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar.lz gsoc2013-epiphany-f81cb08fcbb2efc28cfccfa3fd685ad9d8c0e377.tar.xz 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-window.c')
-rw-r--r-- | src/ephy-window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 1c4178f18..7e9c965c2 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1835,7 +1835,7 @@ update_popups_tooltips (EphyWindow *window, EphyEmbedEvent *event) if (context & EPHY_EMBED_CONTEXT_IMAGE) { - ephy_embed_event_get_property (event, "image", &value); + value = ephy_embed_event_get_property (event, "image"); name = get_name_from_address_value (value); action = gtk_action_group_get_action (group, "OpenImage"); @@ -1864,7 +1864,7 @@ update_popups_tooltips (EphyWindow *window, EphyEmbedEvent *event) if (context & EPHY_EMBED_CONTEXT_EMAIL_LINK) { - ephy_embed_event_get_property (event, "link", &value); + value = ephy_embed_event_get_property (event, "link"); action = gtk_action_group_get_action (group, "SendEmail"); tooltip = g_strdup_printf (_("Send email to address ā%sā"), @@ -1881,7 +1881,7 @@ update_popups_tooltips (EphyWindow *window, EphyEmbedEvent *event) if (context & EPHY_EMBED_CONTEXT_LINK) { - ephy_embed_event_get_property (event, "link", &value); + value = ephy_embed_event_get_property (event, "link"); action = gtk_action_group_get_action (group, "DownloadLink"); name = get_name_from_address_value (value); @@ -1925,7 +1925,7 @@ show_embed_popup (EphyWindow *window, return; } - ephy_embed_event_get_property (event, "framed_page", &value); + value = ephy_embed_event_get_property (event, "framed_page"); framed = g_value_get_int (value); can_open_in_new = ephy_embed_event_has_property (event, "link-has-web-scheme"); |