[glom/glom-1-20] Fix typos



commit 50e5dabd69b83ea211306412b1a8a594736dbecd
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Feb 1 15:23:30 2012 +0100

    Fix typos

 glom/mode_design/users/dialog_new_group.cc |    2 +-
 glom/mode_design/users/dialog_user.cc      |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glom/mode_design/users/dialog_new_group.cc b/glom/mode_design/users/dialog_new_group.cc
index 32d6d24..fd047a2 100644
--- a/glom/mode_design/users/dialog_new_group.cc
+++ b/glom/mode_design/users/dialog_new_group.cc
@@ -32,7 +32,7 @@ Dialog_NewGroup::Dialog_NewGroup(BaseObjectType* cobject, const Glib::RefPtr<Gtk
   m_entry_name(0)
 {
   builder->get_widget("entry_group_name", m_entry_name);
-  m_entry_name.set_max_length(Privs::MAX_ROLE_SIZE);
+  m_entry_name->set_max_length(Privs::MAX_ROLE_SIZE);
 
   //m_entry_name->signal_changed().connect( sigc::mem_fun(*this, &Dialog_NewGroup::on_entry_name_changed) );
 }
diff --git a/glom/mode_design/users/dialog_user.cc b/glom/mode_design/users/dialog_user.cc
index 85f5bfb..4b8c1c6 100644
--- a/glom/mode_design/users/dialog_user.cc
+++ b/glom/mode_design/users/dialog_user.cc
@@ -40,9 +40,9 @@ Dialog_User::Dialog_User(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builde
   builder->get_widget_derived("combobox_group", m_combo_group);
 
   builder->get_widget("entry_password", m_entry_password);
-  m_entry_password.set_max_length(Privs::MAX_ROLE_SIZE); //Let's assume that this has a similar (undocumented in PostgreSQL) max size as the user.
+  m_entry_password->set_max_length(Privs::MAX_ROLE_SIZE); //Let's assume that this has a similar (undocumented in PostgreSQL) max size as the user.
   builder->get_widget("entry_password_confirm", m_entry_password_confirm);
-  m_entry_password_confirm.set_max_length(Privs::MAX_ROLE_SIZE);
+  m_entry_password_confirm->set_max_length(Privs::MAX_ROLE_SIZE);
 
   show_all_children();
 }



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