aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-10-23 05:43:02 +0800
committerChristian Persch <chpe@src.gnome.org>2004-10-23 05:43:02 +0800
commit64ff5c590db02cddccc6088162747c2b69ccd87d (patch)
tree7977055823b9348f83fd663d9e9f24b595f9b488 /lib/widgets
parent2fca0657c1b30df95f4c7cc4d7d8801f4c6ff703 (diff)
downloadgsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.tar
gsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.tar.gz
gsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.tar.bz2
gsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.tar.lz
gsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.tar.xz
gsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.tar.zst
gsoc2013-epiphany-64ff5c590db02cddccc6088162747c2b69ccd87d.zip
Remove ephy_string_parse_uri_list, and use new glib function
2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_double_underscores): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: (drag_data_received_cb): * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-window.c: (ephy_window_load_in_tabs): * src/ephy-window.h: Remove ephy_string_parse_uri_list, and use new glib function g_uri_list_extract_uris() instead.
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/ephy-node-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index dc23e5efa..acbcf3f27 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -389,7 +389,7 @@ drag_data_received_cb (GtkWidget *widget,
if (view->priv->drop_occurred)
{
EphyNode *node;
- GList *uris;
+ char **uris;
gboolean success = FALSE;
GtkTreePath *path;
@@ -400,7 +400,7 @@ drag_data_received_cb (GtkWidget *widget,
node = get_node_from_path (view, path);
- uris = ephy_string_parse_uri_list (selection_data->data);
+ uris = g_uri_list_extract_uris (selection_data->data);
if (uris != NULL)
{
@@ -408,8 +408,8 @@ drag_data_received_cb (GtkWidget *widget,
g_signal_emit (G_OBJECT (view),
ephy_node_view_signals[NODE_DROPPED], 0,
node, uris);
- g_list_foreach (uris, (GFunc) g_free, NULL);
- g_list_free (uris);
+ g_strfreev (uris);
+
}
view->priv->drop_occurred = FALSE;