changeset 1798:a30a6ad210a9

some dillo.cc
author corvid <corvid@lavabit.com>
date Thu, 06 Jan 2011 06:03:25 +0000
parents 5dcb4241383f
children 01432b4073db
files src/dillo.cc
diffstat 1 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/dillo.cc	Thu Jan 06 04:49:54 2011 +0000
+++ b/src/dillo.cc	Thu Jan 06 06:03:25 2011 +0000
@@ -24,10 +24,8 @@
 #include <signal.h>
 #include <locale.h>
 
-#include <fltk/Window.h>
-#include <fltk/TabGroup.h>
-#include <fltk/Font.h>
-#include <fltk/run.h>
+#include <FL/Fl_Window.H>
+#include <FL/Fl.H>
 
 #include "msg.h"
 #include "paths.hh"
@@ -318,10 +316,7 @@
    }
 
    // Sets WM_CLASS hint on X11
-   fltk::Window::xclass("dillo");
-
-   // WORKAROUND: sometimes the default pager triggers redraw storms
-   fltk::TabGroup::default_pager(fltk::PAGER_SHRINK);
+   Fl_Window::default_xclass("dillo");
 
    checkPreferredFonts();
    /* use preferred font for UI */
@@ -369,7 +364,7 @@
       }
    }
 
-   fltk::run();
+   Fl::run();
 
    /*
     * Memory deallocating routines