aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favicon-action.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-30 19:52:45 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-30 19:52:45 +0800
commita28245ea668203b1b2ffabb0b054660e88986a3f (patch)
treea5c2d1a9d1967d21d622839f6869c00e5debfaeb /src/ephy-favicon-action.c
parent956c01fa73fe077bcec0d9cb92d6284dabc037bc (diff)
downloadgsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.tar
gsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.tar.gz
gsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.tar.bz2
gsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.tar.lz
gsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.tar.xz
gsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.tar.zst
gsoc2013-epiphany-a28245ea668203b1b2ffabb0b054660e88986a3f.zip
Add a title param to dnd iterator and remove unused screen location
2003-10-30 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dnd.c: (add_one_netscape_url), (add_one_uri), (add_one_topic): * lib/ephy-dnd.h: * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/ephy-favicon-action.c: (each_url_get_data_binder): Add a title param to dnd iterator and remove unused screen location params.
Diffstat (limited to 'src/ephy-favicon-action.c')
-rw-r--r--src/ephy-favicon-action.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c
index 9e68af1f3..e3c39ac0c 100644
--- a/src/ephy-favicon-action.c
+++ b/src/ephy-favicon-action.c
@@ -94,7 +94,6 @@ each_url_get_data_binder (EphyDragEachSelectedItemDataGet iteratee,
{
const char *title;
char *location;
- char *netscape_url;
EphyTab *tab;
EphyEmbed *embed;
EphyWindow *window = EPHY_WINDOW(iterator_context);
@@ -104,11 +103,8 @@ each_url_get_data_binder (EphyDragEachSelectedItemDataGet iteratee,
ephy_embed_get_location (embed, TRUE, &location);
title = ephy_tab_get_title (tab);
- netscape_url = g_strconcat (location, "\n", title, NULL);
+ iteratee (location, title, data);
- iteratee (netscape_url, -1, -1, -1, -1, data);
-
- g_free (netscape_url);
g_free (location);
}