From: Colin Leroy Date: Thu, 11 Feb 2016 09:33:10 +0000 (+0100) Subject: Fix another g_log warning X-Git-Tag: 3.14.0~171 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=f2c16c568e087c313883c5e5356e06a2f594e3cc;ds=sidebyside Fix another g_log warning --- diff --git a/src/account.c b/src/account.c index bc3e5b4f6..58dfab9f7 100644 --- a/src/account.c +++ b/src/account.c @@ -375,6 +375,9 @@ GList *account_get_list(void) void account_edit_focus(void) { + if (edit_account.window == NULL) { + return; + } manage_window_set_transient(GTK_WINDOW(edit_account.window)); gtk_widget_grab_focus(edit_account.close_btn); gtk_widget_show(edit_account.window);