projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
476dc68
)
Fix another g_log warning
author
Colin Leroy
<colin@colino.net>
Thu, 11 Feb 2016 09:33:10 +0000
(10:33 +0100)
committer
Colin Leroy
<colin@colino.net>
Thu, 11 Feb 2016 09:33:10 +0000
(10:33 +0100)
src/account.c
patch
|
blob
|
history
diff --git
a/src/account.c
b/src/account.c
index bc3e5b4f68664d494cc7336e6e048ac2c751878b..58dfab9f718071a31ea563212569bb64af079b96 100644
(file)
--- a/
src/account.c
+++ b/
src/account.c
@@
-375,6
+375,9
@@
GList *account_get_list(void)
void account_edit_focus(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);
manage_window_set_transient(GTK_WINDOW(edit_account.window));
gtk_widget_grab_focus(edit_account.close_btn);
gtk_widget_show(edit_account.window);