]> 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 753df0b52ac0707c5de0c0569821694d4bf5cca0..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 {
@@ -49,8 +53,8 @@ void GTableCreate::doBuild()
 
 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);
 }