Commit 0ba92bc2 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Matthias Clasen

Use gdk_threads_add_timeout to popup the selection window

Second granularity may bite us back there
parent 9f419708
......@@ -9352,8 +9352,7 @@ gtk_entry_selection_bubble_popup_set (GtkEntry *entry)
g_source_remove (priv->selection_bubble_timeout_id);
priv->selection_bubble_timeout_id =
gdk_threads_add_timeout_seconds (1, gtk_entry_selection_bubble_popup_cb,
entry);
gdk_threads_add_timeout (1000, gtk_entry_selection_bubble_popup_cb, entry);
}
static void
......
......@@ -8837,8 +8837,8 @@ gtk_text_view_selection_bubble_popup_set (GtkTextView *text_view)
g_source_remove (priv->selection_bubble_timeout_id);
priv->selection_bubble_timeout_id =
gdk_threads_add_timeout_seconds (1, gtk_text_view_selection_bubble_popup_cb,
text_view);
gdk_threads_add_timeout (1000, gtk_text_view_selection_bubble_popup_cb,
text_view);
}
/* Child GdkWindows */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment