forked from AuroraMiddleware/gtk
use gdk_threads_add_idle so that the handler acquires the lock since it
2008-09-08 Paolo Borelli <pborelli@katamail.com> * gtk/gtkfilechooserentry.c (install_start_autocompletion_idle): use gdk_threads_add_idle so that the handler acquires the lock since it calls gtk functions. svn path=/trunk/; revision=21321
This commit is contained in:
parent
a306ab45c5
commit
5e667ea561
@ -1,3 +1,9 @@
|
||||
2008-09-08 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* gtk/gtkfilechooserentry.c (install_start_autocompletion_idle):
|
||||
use gdk_threads_add_idle so that the handler acquires the lock
|
||||
since it calls gtk functions.
|
||||
|
||||
2008-09-08 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* configure.in (debug_default): Correct help string for
|
||||
|
@ -1545,7 +1545,7 @@ install_start_autocompletion_idle (GtkFileChooserEntry *chooser_entry)
|
||||
if (chooser_entry->start_autocompletion_idle_id != 0)
|
||||
return;
|
||||
|
||||
chooser_entry->start_autocompletion_idle_id = g_idle_add (start_autocompletion_idle_handler, chooser_entry);
|
||||
chooser_entry->start_autocompletion_idle_id = gdk_threads_add_idle (start_autocompletion_idle_handler, chooser_entry);
|
||||
}
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user