| 1102 #endif /* !HAVE_REGEX_H */ |
1102 #endif /* !HAVE_REGEX_H */ |
| 1103 |
1103 |
| 1104 g_free(s); |
1104 g_free(s); |
| 1105 } |
1105 } |
| 1106 |
1106 |
| |
1107 static gboolean |
| |
1108 pidgin_debug_is_enabled(PurpleDebugLevel level, const char *category) |
| |
1109 { |
| |
1110 return (purple_prefs_get_bool("/purple/gtk/debug/enabled") && |
| |
1111 debug_win != NULL); |
| |
1112 } |
| |
1113 |
| 1107 static PurpleDebugUiOps ops = |
1114 static PurpleDebugUiOps ops = |
| 1108 { |
1115 { |
| 1109 pidgin_debug_print, |
1116 pidgin_debug_print, |
| |
1117 pidgin_debug_is_enabled |
| 1110 }; |
1118 }; |
| 1111 |
1119 |
| 1112 PurpleDebugUiOps * |
1120 PurpleDebugUiOps * |
| 1113 pidgin_debug_get_ui_ops(void) |
1121 pidgin_debug_get_ui_ops(void) |
| 1114 { |
1122 { |