Introduction
Introduction Statistics Contact Development Disclaimer Help
ttypo. - surf - customized build of surf, the suckless webkit browser
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 90289f602371acb058e1cb4140ac22d59af59e12
parent 20c257e90c75a12d2d276fc3fda08a4732efcc5b
Author: Enno Boland (Gottox) <[email protected]>
Date: Sat, 6 Jun 2009 17:35:58 +0200
ttypo.
Diffstat:
M surf.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/surf.c b/surf.c
t@@ -45,7 +45,7 @@ static void progresschange(WebKitWebView *view, gint p, gpoi…
static void loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d);
static void linkhover(WebKitWebView* page, const gchar* t, const gchar* l, gpo…
static void destroyclient(Client *c);
-WebKitWebView newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d);
+static WebKitWebView *newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer…
static gboolean decidewindow(WebKitWebView *view, WebKitWebFrame *f,
WebKitNetworkRequest *r, WebKitWebNavigationAction *n,
WebKitWebPolicyDecision *p, gpointer d);
t@@ -131,10 +131,11 @@ decidewindow(WebKitWebView *view, WebKitWebFrame *f,
return TRUE;
}
-WebKitWebView newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d) {
+WebKitWebView *
+newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d) {
/* TODO */
Client *c = newclient();
- return *c->view;
+ return c->view;
}
void
t@@ -204,7 +205,7 @@ destroyclient(Client *c) {
gtk_widget_destroy(c->scroll);
gtk_widget_destroy(c->vbox);
gtk_widget_destroy(c->urlbar);
- gtk_widget_destroy(c->urllist);
+/* gtk_widget_destroy(c->urllist);*/
gtk_widget_destroy(c->searchbar);
if(clients == c && c->next == NULL)
gtk_main_quit();
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.