aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favicon-action.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-15 19:39:59 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-15 19:39:59 +0800
commit3e5ed541be61abd147053f4634b10695c4fb286c (patch)
tree090f2d5a7011a1423efccbda8b685692e5aee9de /src/ephy-favicon-action.c
parent3552656ca81df22a50a4045199b959a87ed4d07f (diff)
downloadgsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.tar
gsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.tar.gz
gsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.tar.bz2
gsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.tar.lz
gsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.tar.xz
gsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.tar.zst
gsoc2013-epiphany-3e5ed541be61abd147053f4634b10695c4fb286c.zip
Add a title param to dnd iterator and remove unused screen location
2003-12-15 Christian Persch <chpe@cvs.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. (Backported from HEAD.)
Diffstat (limited to 'src/ephy-favicon-action.c')
-rw-r--r--src/ephy-favicon-action.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c
index bf1d96d36..d1a4c597e 100644
--- a/src/ephy-favicon-action.c
+++ b/src/ephy-favicon-action.c
@@ -14,6 +14,8 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
*/
#include "ephy-favicon-action.h"
@@ -87,7 +89,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);
@@ -97,11 +98,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 (netscape_url, -1, -1, -1, -1, data);
+ iteratee (location, title, data);
- g_free (netscape_url);
g_free (location);
}