| 923 } |
923 } |
| 924 |
924 |
| 925 void |
925 void |
| 926 pidgin_debug_uninit(void) |
926 pidgin_debug_uninit(void) |
| 927 { |
927 { |
| 928 if(pref_callback_id != 0) { |
928 g_clear_handle_id(&pref_callback_id, purple_prefs_disconnect_callback); |
| 929 purple_prefs_disconnect_callback(pref_callback_id); |
929 g_clear_handle_id(&debug_enabled_timer, g_source_remove); |
| 930 } |
|
| 931 pref_callback_id = 0; |
|
| 932 if(debug_enabled_timer != 0) { |
|
| 933 g_source_remove(debug_enabled_timer); |
|
| 934 } |
|
| 935 debug_enabled_timer = 0; |
|
| 936 } |
930 } |
| 937 |
931 |
| 938 void * |
932 void * |
| 939 pidgin_debug_get_handle(void) { |
933 pidgin_debug_get_handle(void) { |
| 940 static int handle; |
934 static int handle; |