[dev] [surf] superfluos webkit_get_default_session() call

From: Benjamin Nadland <benjamin.nadland_AT_freenet.de>
Date: Thu, 10 Mar 2011 15:58:34 +0100

s = webkit_get_default_session() is unnecessary here (in setup()).
It is called again later, right before it is used.

diff -r 7a931a352cf9 surf.c
--- a/surf.c Thu Sep 09 11:15:02 2010 +0200
+++ b/surf.c Thu Mar 10 15:55:47 2011 +0100
@@ -681,7 +681,6 @@
                g_thread_init(NULL);
 
        dpy = GDK_DISPLAY();
- s = webkit_get_default_session();
 
        /* atoms */
        atoms[AtomFind] = XInternAtom(dpy, "_SURF_FIND", False);
Received on Thu Mar 10 2011 - 15:58:34 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 10 2011 - 18:12:03 CET