]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GTableCreate.C
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GTableCreate.C
index f7bf7e7ce906fd6cda9fcebe02e987f3e4b12d00..3405f602657dfd30709d2eaaea3d5d37a213d255 100644 (file)
@@ -9,15 +9,19 @@
  */
 
 #include <config.h>
-#include <gtkmm.h>
 
-#include <libglademm.h>
+// Too hard to make concept checks work with this file
+#ifdef _GLIBCPP_CONCEPT_CHECKS
+#undef _GLIBCPP_CONCEPT_CHECKS
+#endif
 
-#include "ControlTabularCreate.h"
 #include "GTableCreate.h"
 #include "ghelpers.h"
+
 #include "support/lstrings.h"
 
+#include <libglademm.h>
+
 using std::string;
 
 namespace lyx {
@@ -28,6 +32,7 @@ GTableCreate::GTableCreate(Dialog & parent)
 {
 }
 
+
 void GTableCreate::doBuild()
 {
        string const gladeName = findGladeFile("tableCreate");
@@ -45,10 +50,11 @@ void GTableCreate::doBuild()
        setApply(apply);
 }
 
+
 void GTableCreate::apply()
 {
-       int rows = rows_->get_value_as_int();
-       int columns = columns_->get_value_as_int();
+       int const rows = rows_->get_value_as_int();
+       int const columns = columns_->get_value_as_int();
        controller().params() = std::make_pair(columns, rows);
 }