pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
20c257e
)
typo.
author
Enno Boland (Gottox)
<gottox@s01.de>
Sat, 6 Jun 2009 15:35:58 +0000
(17:35 +0200)
committer
Enno Boland (Gottox)
<gottox@s01.de>
Sat, 6 Jun 2009 15:35:58 +0000
(17:35 +0200)
surf.c
patch
|
blob
|
history
diff --git
a/surf.c
b/surf.c
index
8bf23f2
..
bc4aea1
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-45,7
+45,7
@@
static void progresschange(WebKitWebView *view, gint p, gpointer d);
static void loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d);
static void linkhover(WebKitWebView* page, const gchar* t, const gchar* l, gpointer d);
static void destroyclient(Client *c);
static void loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d);
static void linkhover(WebKitWebView* page, const gchar* t, const gchar* l, gpointer d);
static void destroyclient(Client *c);
-
WebKitWebView
newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d);
+
static WebKitWebView *
newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d);
static gboolean decidewindow(WebKitWebView *view, WebKitWebFrame *f,
WebKitNetworkRequest *r, WebKitWebNavigationAction *n,
WebKitWebPolicyDecision *p, gpointer d);
static gboolean decidewindow(WebKitWebView *view, WebKitWebFrame *f,
WebKitNetworkRequest *r, WebKitWebNavigationAction *n,
WebKitWebPolicyDecision *p, gpointer d);
@@
-131,10
+131,11
@@
decidewindow(WebKitWebView *view, WebKitWebFrame *f,
return TRUE;
}
return TRUE;
}
-WebKitWebView newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d) {
+WebKitWebView *
+newwindow(WebKitWebView *v, WebKitWebFrame *f, gpointer d) {
/* TODO */
Client *c = newclient();
/* TODO */
Client *c = newclient();
- return
*
c->view;
+ return c->view;
}
void
}
void
@@
-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->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();
gtk_widget_destroy(c->searchbar);
if(clients == c && c->next == NULL)
gtk_main_quit();