Mercurial > pidgin.yaz
comparison src/multi.c @ 1474:4e891576c226
[gaim-migrate @ 1484]
bah
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 06 Feb 2001 13:49:32 +0000 |
parents | 38e8391aa563 |
children | de0b946e86a4 |
comparison
equal
deleted
inserted
replaced
1473:38e8391aa563 | 1474:4e891576c226 |
---|---|
123 if (acctedit) { | 123 if (acctedit) { |
124 save_prefs(); | 124 save_prefs(); |
125 gtk_widget_destroy(acctedit); | 125 gtk_widget_destroy(acctedit); |
126 } | 126 } |
127 acctedit = NULL; | 127 acctedit = NULL; |
128 if (d == NULL && blist == NULL && mainwindow == NULL && g_slist_length(connections) < 1) | 128 if (!d && !blist && !mainwindow && !connections) |
129 gtk_main_quit(); | 129 gtk_main_quit(); |
130 } | 130 } |
131 | 131 |
132 static gint acctedit_close(GtkWidget *w, gpointer d) | 132 static gint acctedit_close(GtkWidget *w, gpointer d) |
133 { | 133 { |
134 gtk_widget_destroy(acctedit); | 134 gtk_widget_destroy(acctedit); |
135 if (d == NULL && blist == NULL && mainwindow == NULL) | 135 if (!d && !blist && !mainwindow && !connections) |
136 gtk_main_quit(); | 136 gtk_main_quit(); |
137 return FALSE; | 137 return FALSE; |
138 } | 138 } |
139 | 139 |
140 static char *proto_name(int proto) | 140 static char *proto_name(int proto) |