aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dnd.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-20 18:47:30 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-20 18:47:30 +0800
commit672d06e7f172da3fdcdafb1411d42092ef9f2087 (patch)
treee9bc88605cbdd0eadfbae101740e32233faa43f3 /lib/ephy-dnd.c
parentb5959ba28d003e0945ae587761f2e891266dcdfd (diff)
downloadgsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.tar
gsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.tar.gz
gsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.tar.bz2
gsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.tar.lz
gsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.tar.xz
gsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.tar.zst
gsoc2013-epiphany-672d06e7f172da3fdcdafb1411d42092ef9f2087.zip
Fix some warnings. Go back hardcoding defaults in the code, mozilla pref
2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/mozilla/Makefile.am: * embed/mozilla/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-prefs.cpp: * embed/mozilla/mozilla-prefs.h: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_construct): Fix some warnings. Go back hardcoding defaults in the code, mozilla pref api sucks :/ Cleanup mozilla prefs code, we can use mozilla api directly now, no need for a wrapper like in galeon1.
Diffstat (limited to 'lib/ephy-dnd.c')
-rw-r--r--lib/ephy-dnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ephy-dnd.c b/lib/ephy-dnd.c
index def09d14f..8c18bd754 100644
--- a/lib/ephy-dnd.c
+++ b/lib/ephy-dnd.c
@@ -117,7 +117,7 @@ ephy_dnd_node_list_extract_nodes (const char *node_list)
nodes = g_strsplit (node_list, ";", -1);
- db = ephy_node_db_get_by_name (nodes[i]);
+ db = ephy_node_db_get_by_name (nodes[0]);
g_return_val_if_fail (db != NULL, NULL);
for (i = 1; nodes[i] != NULL; i++)