[ghex] Don't use GDK_THREADS_ENTER/LEAVE
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] Don't use GDK_THREADS_ENTER/LEAVE
- Date: Mon, 6 Aug 2012 16:56:53 +0000 (UTC)
commit 1389da5c7abdeb24c0c239afd8d64f5d2a642c5a
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Aug 5 15:43:52 2012 -0400
Don't use GDK_THREADS_ENTER/LEAVE
We're not calling gdk_threads_init, so ENTER/LEAVE are no-ops
anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=681253
src/ghex-window.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/ghex-window.c b/src/ghex-window.c
index f69e634..782304f 100644
--- a/src/ghex-window.c
+++ b/src/ghex-window.c
@@ -1104,8 +1104,6 @@ remove_timeout_cb (GtkWidget *win, MessageInfo *mi )
static gint
remove_message_timeout (MessageInfo * mi)
{
- GDK_THREADS_ENTER ();
-
/* Remove the status message */
/* NOTE : Use space ' ' not an empty string '' */
ghex_window_update_status_message (mi->win);
@@ -1113,8 +1111,6 @@ remove_message_timeout (MessageInfo * mi)
remove_timeout_cb, mi);
g_free (mi);
- GDK_THREADS_LEAVE ();
-
return FALSE; /* removes the timeout */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]