aboutsummaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-03-14 23:23:02 +0100
committerTheJackiMonster <thejackimonster@gmail.com>2022-03-14 23:23:02 +0100
commit87d68ebf5ba44793de328fde54a6d830f6b6157b (patch)
tree4c7b91cdf558946e21abc76ed22a3caeff440d68 /src/ui
parent827a285511e68e7cd353485aba9fc290b9f05478 (diff)
downloadmessenger-gtk-87d68ebf5ba44793de328fde54a6d830f6b6157b.tar.gz
messenger-gtk-87d68ebf5ba44793de328fde54a6d830f6b6157b.zip
Fix new account creation on startup
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/accounts.c2
-rw-r--r--src/ui/new_account.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/accounts.c b/src/ui/accounts.c
index 84e932e..1a95b7b 100644
--- a/src/ui/accounts.c
+++ b/src/ui/accounts.c
@@ -219,5 +219,7 @@ ui_accounts_dialog_cleanup(UI_ACCOUNTS_Handle *handle)
219{ 219{
220 g_object_unref(handle->builder); 220 g_object_unref(handle->builder);
221 221
222 guint show = handle->show_queued;
222 memset(handle, 0, sizeof(*handle)); 223 memset(handle, 0, sizeof(*handle));
224 handle->show_queued = show;
223} 225}
diff --git a/src/ui/new_account.c b/src/ui/new_account.c
index 2778825..a64e016 100644
--- a/src/ui/new_account.c
+++ b/src/ui/new_account.c
@@ -189,5 +189,7 @@ ui_new_account_dialog_cleanup(UI_NEW_ACCOUNT_Handle *handle)
189{ 189{
190 g_object_unref(handle->builder); 190 g_object_unref(handle->builder);
191 191
192 guint show = handle->show_queued;
192 memset(handle, 0, sizeof(*handle)); 193 memset(handle, 0, sizeof(*handle));
194 handle->show_queued = show;
193} 195}