diff options
author | Eion Robb <eion@robbmob.com> | 2010-08-31 07:10:16 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2010-08-31 07:10:16 +0400 |
commit | 380694d2a06479785135720afa2a2457315cd068 (patch) | |
tree | 06b6da7ed5590acc69b6d7b6c56690b607b81a42 /skype_messaging_x11.c | |
parent | abf1f2c428605b806e4e1988137fe0a56b8c9485 (diff) |
Remove excessive debugging info in X11 plugin
Diffstat (limited to 'skype_messaging_x11.c')
-rw-r--r-- | skype_messaging_x11.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/skype_messaging_x11.c b/skype_messaging_x11.c index 0db3a0d..67c099e 100644 --- a/skype_messaging_x11.c +++ b/skype_messaging_x11.c @@ -108,23 +108,15 @@ skype_connect() static void skype_disconnect() { - XEvent *e; - run_loop = FALSE; skype_win = (Window)-1; if (disp != NULL) { if (win != -1) - { - e = g_new0(XEvent, 1); - e->xclient.type = DestroyNotify; - XSendEvent(disp, win, False, 0, e); - + { //wait here for the event to be handled XDestroyWindow(disp, win); - - XFree(e); } XCloseDisplay(disp); } @@ -220,7 +212,6 @@ receive_message_loop(void) g_thread_create((GThreadFunc)skype_message_received, g_strdup("CONNSTATUS LOGGEDOUT"), FALSE, NULL); break; } - skype_debug_info("skype_x11", "display still around\n"); Bool event_bool; g_static_mutex_lock(&x11_mutex); @@ -232,7 +223,6 @@ receive_message_loop(void) usleep(1000); //XPeekEvent(disp, &e); //sleep(1); - skype_debug_info("skype_x11", "no event to process\n"); continue; }/* XNextEvent(disp, &e); @@ -257,7 +247,6 @@ receive_message_loop(void) } continue; } - skype_debug_info("skype_x11", "got a message of length %d\n", len); if (len < 20) { g_thread_create((GThreadFunc)skype_message_received, (void *)g_string_free(msg, FALSE), FALSE, NULL); |