summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/fluid.cxx2
-rw-r--r--fluid/ide_support.cxx5
2 files changed, 5 insertions, 2 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx
index 2905e73e6..d01c2cbbd 100644
--- a/fluid/fluid.cxx
+++ b/fluid/fluid.cxx
@@ -25,7 +25,7 @@
// http://www.fltk.org/str.php
//
-#define IDE_SUPPORT
+#undef IDE_SUPPORT
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
diff --git a/fluid/ide_support.cxx b/fluid/ide_support.cxx
index 5110bf202..41ccd60d2 100644
--- a/fluid/ide_support.cxx
+++ b/fluid/ide_support.cxx
@@ -325,7 +325,10 @@ char with_makefile(Fl_Preferences::ID id) {
int create_new_database(const char *filename)
{
Fl_Preferences *db = new Fl_Preferences(filename, "fltk.org", 0);
- db->clear();
+ // TODO: we do not clear the database anymore! This shoudl keep UUID's
+ // consistent and reduce the size of check-ins. When removing items from
+ // the db, we have to do that manually!
+ //db->clear();
db->set("projectName", "fltk");