diff options
author | Paolo Borelli <pborelli@katamail.com> | 2008-09-08 14:29:26 +0000 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2008-09-08 14:29:26 +0000 |
commit | 5e667ea561770dd257d17e08b890666514c345d1 (patch) | |
tree | 0c845b8c0e363210405d0a14709cc2bc4ade47bb /gtk/gtkfilechooserentry.c | |
parent | a306ab45c56ee5236cd4d3c2e01a6c8bdfa56e8d (diff) | |
download | gtk+-5e667ea561770dd257d17e08b890666514c345d1.tar.gz |
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
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 1ff7a79d37..a40e429fff 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -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 |