summaryrefslogtreecommitdiff
path: root/panels/user-accounts/um-account-dialog.c
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2014-08-09 15:12:34 +0200
committerOndrej Holy <oholy@redhat.com>2014-08-14 13:51:56 +0200
commit0f3575b3179a224acfbe59576ac9013d0af10061 (patch)
tree1668d68c11c0d99a3ef284487a7a094dc1c98d26 /panels/user-accounts/um-account-dialog.c
parentd9d5124997f1fa550b80be74dc151d161b901273 (diff)
downloadgnome-control-center-0f3575b3179a224acfbe59576ac9013d0af10061.tar.gz
user-accounts: avoid removing non-existent GSources
Source id have to be zeroed correctly. https://bugzilla.gnome.org/show_bug.cgi?id=734548
Diffstat (limited to 'panels/user-accounts/um-account-dialog.c')
-rw-r--r--panels/user-accounts/um-account-dialog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/panels/user-accounts/um-account-dialog.c b/panels/user-accounts/um-account-dialog.c
index 7eee23cfe..d1147a2c0 100644
--- a/panels/user-accounts/um-account-dialog.c
+++ b/panels/user-accounts/um-account-dialog.c
@@ -337,6 +337,8 @@ local_validate (UmAccountDialog *self)
static gboolean
local_username_timeout (UmAccountDialog *self)
{
+ self->local_username_timeout_id = 0;
+
dialog_validate (self);
return FALSE;
@@ -381,6 +383,8 @@ on_username_changed (GtkComboBoxText *combo,
static gboolean
local_name_timeout (UmAccountDialog *self)
{
+ self->local_username_timeout_id = 0;
+
dialog_validate (self);
return FALSE;
@@ -468,6 +472,8 @@ on_generate (GtkEntry *entry,
static gboolean
local_password_timeout (UmAccountDialog *self)
{
+ self->local_password_timeout_id = 0;
+
dialog_validate (self);
update_password_match (self);
@@ -1242,6 +1248,8 @@ enterprise_domain_timeout (UmAccountDialog *self)
{
GtkTreeIter iter;
+ self->enterprise_domain_timeout_id = 0;
+
if (gtk_combo_box_get_active_iter (self->enterprise_domain, &iter)) {
gtk_tree_model_get (gtk_combo_box_get_model (self->enterprise_domain), &iter, 1, &self->selected_realm, -1);
set_entry_validation_checkmark (GTK_ENTRY (self->enterprise_domain_entry));