summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnno Boland (Gottox) <gottox@s01.de>2009-06-06 09:51:09 +0200
committerEnno Boland (Gottox) <gottox@s01.de>2009-06-06 09:51:09 +0200
commit0e956be80f0717d4b298ceb275172e0ae722730c (patch)
tree30e89740db9768535bd7a82aaafd1d920f9b1b16
parent4f9adbdb0a4790a06e306be0db43b1c2bac1b248 (diff)
downloadsurf-0e956be80f0717d4b298ceb275172e0ae722730c.tar.gz
surf-0e956be80f0717d4b298ceb275172e0ae722730c.tar.bz2
surf-0e956be80f0717d4b298ceb275172e0ae722730c.zip
corrected signal. anyway it still does not work.
-rw-r--r--surf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 21d7465..a9e24e5 100644
--- a/surf.c
+++ b/surf.c
@@ -278,7 +278,7 @@ newclient(void) {
g_signal_connect(G_OBJECT(c->view), "load-progress-changed", G_CALLBACK(progresschange), c);
g_signal_connect(G_OBJECT(c->view), "load-committed", G_CALLBACK(loadcommit), c);
g_signal_connect(G_OBJECT(c->view), "hovering-over-link", G_CALLBACK(linkhover), c);
- g_signal_connect(G_OBJECT(c->view), "new-window", G_CALLBACK(newwindow), c);
+ g_signal_connect(G_OBJECT(c->view), "new-window-policy-decision-requested", G_CALLBACK(newwindow), c);
g_signal_connect(G_OBJECT(c->view), "download-requested", G_CALLBACK(download), c);
gtk_container_add(GTK_CONTAINER(c->win), c->browser);