]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkentry.c
Use gdk_threads_add_timeout to popup the selection window
[~andy/gtk] / gtk / gtkentry.c
index a24b344cc6fd35599142f8eccd5014c4934030c8..a1a5387d5f12756f4419be0ded0732d596316dbf 100644 (file)
@@ -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