Mercurial > pidgin
comparison plugins/ticker/ticker.c @ 5181:82b3d72d2128
[gaim-migrate @ 5545]
fixes the ticker so it doesn't crash after you unload it
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 20 Apr 2003 07:23:25 +0000 |
parents | 2d84fe476406 |
children | dec87634bcb1 |
comparison
equal
deleted
inserted
replaced
5180:ea261ce36f0b | 5181:82b3d72d2128 |
---|---|
241 buddy_ticker_show(); | 241 buddy_ticker_show(); |
242 return NULL; | 242 return NULL; |
243 } | 243 } |
244 | 244 |
245 G_MODULE_EXPORT void gaim_plugin_remove() { | 245 G_MODULE_EXPORT void gaim_plugin_remove() { |
246 buddy_ticker_destroy_window(tickerwindow, NULL, NULL); | 246 gtk_widget_destroy(tickerwindow); |
247 } | 247 } |
248 | 248 |
249 struct gaim_plugin_description desc; | 249 struct gaim_plugin_description desc; |
250 G_MODULE_EXPORT struct gaim_plugin_description *gaim_plugin_desc() { | 250 G_MODULE_EXPORT struct gaim_plugin_description *gaim_plugin_desc() { |
251 desc.api_version = PLUGIN_API_VERSION; | 251 desc.api_version = PLUGIN_API_VERSION; |