[glom/glom-1-20] Fix the build.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-20] Fix the build.
- Date: Mon, 6 Feb 2012 09:04:09 +0000 (UTC)
commit de924eefd7e0d7b51bd42c9458d5e60940d5ac01
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 461c4ee..c61f587 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>
+
Limit user and group name lengths.
* glom/libglom/privs.[h|cc]: Add a MAX_ROLE_SIZE enum constants.
diff --git a/glom/mode_design/users/dialog_new_group.cc b/glom/mode_design/users/dialog_new_group.cc
index 664646a..32d6d24 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 52674d9..85f5bfb 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]