aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-01-06 06:03:25 +0000
committercorvid <corvid@lavabit.com>2011-01-06 06:03:25 +0000
commit14291040084927ff783a115df31895192cac4e65 (patch)
tree5698ccfc84fc1353b739b54882588f195ccc9e4d
parent96225ec746f55d8d67d92a885115a69aeabeaac7 (diff)
some dillo.cc
-rw-r--r--src/dillo.cc13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 3159674e..caf15248 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -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 @@ int main(int argc, char **argv)
}
// 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 @@ int main(int argc, char **argv)
}
}
- fltk::run();
+ Fl::run();
/*
* Memory deallocating routines