aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-09-26 23:51:17 +0800
committerChristian Persch <chpe@src.gnome.org>2004-09-26 23:51:17 +0800
commit3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15 (patch)
treeb5aa52790e3a725912a14f63131c19108ed0aa29 /src
parent2a22d05e9e0dfc84beb57cbb6b5a63768b47e770 (diff)
downloadgsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.tar
gsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.tar.gz
gsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.tar.bz2
gsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.tar.lz
gsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.tar.xz
gsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.tar.zst
gsoc2013-epiphany-3a641a3b7a25d5ae85eaf5c3f1911c6033ea1e15.zip
Remove some unused code. Patch by Crispin Flowerday.
2004-09-26 Christian Persch <chpe@cvs.gnome.org> * src/popup-commands.c: (popup_cmd_bookmark_link), (popup_cmd_copy_image_location): Remove some unused code. Patch by Crispin Flowerday.
Diffstat (limited to 'src')
-rw-r--r--src/popup-commands.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 5b6467e83..1e7f9e09c 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -94,7 +94,6 @@ popup_cmd_bookmark_link (GtkAction *action,
GtkWidget *new_bookmark;
EphyBookmarks *bookmarks;
EphyEmbedEvent *info;
- EphyEmbed *embed;
const GValue *link_title;
const GValue *link_rel;
const GValue *link;
@@ -106,7 +105,6 @@ popup_cmd_bookmark_link (GtkAction *action,
gboolean is_smart;
info = get_event_info (window);
- embed = ephy_window_get_active_embed (window);
ephy_embed_event_get_property (info, "link_is_smart", &link_is_smart);
ephy_embed_event_get_property (info, "link", &link);
@@ -332,10 +330,6 @@ popup_cmd_copy_image_location (GtkAction *action,
EphyEmbedEvent *info;
const char *location;
const GValue *value;
- EphyEmbed *embed;
-
- embed = ephy_window_get_active_embed (window);
- g_return_if_fail (embed != NULL);
info = get_event_info (window);
ephy_embed_event_get_property (info, "image", &value);