[glom] Fix the build.



commit 6e779a38b440afb3ff7b4787bc4b1b4c675ba6ae
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Feb 1 22:13:12 2012 +0100

    Fix the build.
    
    * glom/mode_design/users/dialog_new_group.cc:
    * glom/mode_design/users/dialog_user.cc: Add includes to fix the build.

 ChangeLog                                  |    7 +++++++
 glom/mode_design/users/dialog_new_group.cc |    1 +
 glom/mode_design/users/dialog_user.cc      |    3 ++-
 3 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4c2ee00..cfaeddc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-02-01  Murray Cumming  <murrayc murrayc com>
 
+	Fix the build.
+
+	* glom/mode_design/users/dialog_new_group.cc:
+	* glom/mode_design/users/dialog_user.cc: Add includes to fix the build.
+
+2012-02-01  Murray Cumming  <murrayc murrayc com>
+
 	test_selfhosting_new_empty_then_users: Show the problem with spaces.
 
 	* tests/test_selfhosting_new_empty_then_users.cc: 
diff --git a/glom/mode_design/users/dialog_new_group.cc b/glom/mode_design/users/dialog_new_group.cc
index c5bcde0..fd047a2 100644
--- a/glom/mode_design/users/dialog_new_group.cc
+++ b/glom/mode_design/users/dialog_new_group.cc
@@ -19,6 +19,7 @@
  */
  
 #include "dialog_new_group.h"
+#include <libglom/privs.h>
 
 namespace Glom
 {
diff --git a/glom/mode_design/users/dialog_user.cc b/glom/mode_design/users/dialog_user.cc
index 9dcb220..4b8c1c6 100644
--- a/glom/mode_design/users/dialog_user.cc
+++ b/glom/mode_design/users/dialog_user.cc
@@ -20,6 +20,7 @@
 
 #include "dialog_user.h"
 #include <glom/frame_glom.h> //For Frame_Glom::show_ok_dialog().
+#include <libglom/privs.h>
 //#include <libgnome/gnome-i18n.h>
 #include <glibmm/i18n.h>
 
@@ -35,7 +36,7 @@ Dialog_User::Dialog_User(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builde
   //builder->get_widget("label_table_name", m_label_table_name);
 
   builder->get_widget("entry_user", m_entry_user);
-  m_entry_name.set_max_length(Privs::MAX_ROLE_SIZE);
+  m_entry_user->set_max_length(Privs::MAX_ROLE_SIZE);
   builder->get_widget_derived("combobox_group", m_combo_group);
 
   builder->get_widget("entry_password", m_entry_password);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]