From 3e5ed541be61abd147053f4634b10695c4fb286c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 15 Dec 2003 11:39:59 +0000 Subject: Add a title param to dnd iterator and remove unused screen location 2003-12-15 Christian Persch * 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.) --- src/ephy-favicon-action.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3