From 3e62bf1c7595362c7267c74f5dd9f9563932f0be Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carlos@lanedo.com>
Date: Tue, 15 Jan 2013 16:00:41 +0100
Subject: [PATCH] use gdk_threads_add_*
---
gtk/gtkentry.c | 4 ++--
gtk/gtktextview.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 0ab12c6..3cad0e0 100644
a
|
b
|
gtk_entry_selection_bubble_popup_set (GtkEntry *entry) |
9360 | 9360 | g_source_remove (priv->selection_bubble_timeout_id); |
9361 | 9361 | |
9362 | 9362 | priv->selection_bubble_timeout_id = |
9363 | | g_timeout_add_seconds (1, gtk_entry_selection_bubble_popup_cb, |
9364 | | entry); |
| 9363 | gdk_threads_add_timeout (500, gtk_entry_selection_bubble_popup_cb, |
| 9364 | entry); |
9365 | 9365 | } |
9366 | 9366 | |
9367 | 9367 | static void |
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 7bf542c..dc3b0c1 100644
a
|
b
|
gtk_text_view_selection_bubble_popup_set (GtkTextView *text_view) |
8809 | 8809 | g_source_remove (priv->selection_bubble_timeout_id); |
8810 | 8810 | |
8811 | 8811 | priv->selection_bubble_timeout_id = |
8812 | | g_timeout_add_seconds (1, gtk_text_view_selection_bubble_popup_cb, |
8813 | | text_view); |
| 8812 | gdk_threads_add_timeout (500, gtk_text_view_selection_bubble_popup_cb, |
| 8813 | text_view); |
8814 | 8814 | } |
8815 | 8815 | |
8816 | 8816 | /* Child GdkWindows */ |