Mercurial > pidgin
comparison src/multi.c @ 4695:4bdd9a5fd026
[gaim-migrate @ 5006]
This may very well have issues, but it's a slightly better core/ui split,
removing global variables and fixing some GTK+ runtime errors and a couple
segfaults. It's some progress.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Mon, 10 Mar 2003 18:16:29 +0000 |
| parents | 283fb289c510 |
| children | e4dda06a3143 |
comparison
equal
deleted
inserted
replaced
| 4694:8f523dbb970e | 4695:4bdd9a5fd026 |
|---|---|
| 183 if (acctedit) { | 183 if (acctedit) { |
| 184 save_prefs(); | 184 save_prefs(); |
| 185 gtk_widget_destroy(acctedit); | 185 gtk_widget_destroy(acctedit); |
| 186 acctedit = NULL; | 186 acctedit = NULL; |
| 187 } | 187 } |
| 188 | |
| 188 treeview = NULL; | 189 treeview = NULL; |
| 189 if (!d && !gtkblist->window && !mainwindow && !connections) | 190 |
| 191 if (!d && !GAIM_GTK_BLIST(gaim_get_blist())->window && | |
| 192 !mainwindow && !connections) { | |
| 193 | |
| 190 do_quit(); | 194 do_quit(); |
| 195 } | |
| 191 } | 196 } |
| 192 | 197 |
| 193 static void on_delete_acctedit(GtkWidget *w, GdkEvent *ev, gpointer d) | 198 static void on_delete_acctedit(GtkWidget *w, GdkEvent *ev, gpointer d) |
| 194 { | 199 { |
| 195 quit_acctedit(d); | 200 quit_acctedit(d); |
