*/
#include "config.h"
-
-#include <errno.h>
-#include <fcntl.h>
-#include <stdarg.h>
-#include <sys/stat.h>
-#include <unistd.h>
-
-#include <glib.h>
-#include <glib/gstdio.h>
-
-#include <telepathy-glib/debug.h>
-#include <telepathy-glib/debug-sender.h>
-
#include "empathy-debug.h"
+#include <tp-account-widgets/tpaw-debug.h>
+
#ifdef ENABLE_DEBUG
static EmpathyDebugFlags flags = 0;
{ "Chat", EMPATHY_DEBUG_CHAT },
{ "Contact", EMPATHY_DEBUG_CONTACT },
{ "Account", EMPATHY_DEBUG_ACCOUNT },
- { "Irc", EMPATHY_DEBUG_IRC },
{ "Dispatcher", EMPATHY_DEBUG_DISPATCHER },
{ "Ft", EMPATHY_DEBUG_FT },
{ "Location", EMPATHY_DEBUG_LOCATION },
{ "Voip", EMPATHY_DEBUG_VOIP },
{ "Tls", EMPATHY_DEBUG_TLS },
{ "Sasl", EMPATHY_DEBUG_SASL },
+ { "Camera", EMPATHY_DEBUG_CAMERA },
{ 0, }
};
for (nkeys = 0; keys[nkeys].value; nkeys++);
tp_debug_set_flags (flags_string);
+ tpaw_debug_set_flags (flags_string);
if (flags_string)
debug_set_flags (g_parse_debug_string (flags_string, keys, nkeys));
if (flag_to_keys == NULL)
return;
- g_hash_table_destroy (flag_to_keys);
+ g_hash_table_unref (flag_to_keys);
flag_to_keys = NULL;
}