Mercurial > pidgin
comparison src/main.c @ 7966:7d25d4e50343
[gaim-migrate @ 8643]
We now save the list of plugins on quit, before unloading them. That way,
any plugin that unloaded itself is taken off the auto-load list.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Wed, 31 Dec 2003 08:52:30 +0000 |
| parents | 1b8261f374ea |
| children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
| 7965:b02b30247e7a | 7966:7d25d4e50343 |
|---|---|
| 40 #include "gtkconn.h" | 40 #include "gtkconn.h" |
| 41 #include "gtkconv.h" | 41 #include "gtkconv.h" |
| 42 #include "gtkdebug.h" | 42 #include "gtkdebug.h" |
| 43 #include "gtkft.h" | 43 #include "gtkft.h" |
| 44 #include "gtknotify.h" | 44 #include "gtknotify.h" |
| 45 #include "gtkplugin.h" | |
| 45 #include "gtkpounce.h" | 46 #include "gtkpounce.h" |
| 46 #include "gtkprefs.h" | 47 #include "gtkprefs.h" |
| 47 #include "gtkprivacy.h" | 48 #include "gtkprivacy.h" |
| 48 #include "gtkrequest.h" | 49 #include "gtkrequest.h" |
| 49 #include "gtksound.h" | 50 #include "gtksound.h" |
| 518 | 519 |
| 519 #ifdef USE_SM | 520 #ifdef USE_SM |
| 520 /* unplug */ | 521 /* unplug */ |
| 521 session_end(); | 522 session_end(); |
| 522 #endif | 523 #endif |
| 524 | |
| 525 /* Save the plugins we have loaded for next time. */ | |
| 526 gaim_gtk_plugins_save(); | |
| 523 | 527 |
| 524 /* and end it all... */ | 528 /* and end it all... */ |
| 525 gtk_main_quit(); | 529 gtk_main_quit(); |
| 526 } | 530 } |
| 527 | 531 |
