diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-12-22 19:10:43 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-12-22 19:10:43 +0000 |
commit | 721c3bc10182cacf1a98baddde3c94e59797ddb7 (patch) | |
tree | 78b2e3ae3c00133a58f09653aff664e4ab0305e9 /gtk/gtkcombo.c | |
parent | 7854bd1b6e6102aff426bf6a48606c4a9b12b7c2 (diff) | |
download | gtk+-721c3bc10182cacf1a98baddde3c94e59797ddb7.tar.gz |
Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* *.c: Replace a lot of idle and timeout calls by
the new gdk_threads api.
Diffstat (limited to 'gtk/gtkcombo.c')
-rw-r--r-- | gtk/gtkcombo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcombo.c b/gtk/gtkcombo.c index 5dd45e470c..10d10b2991 100644 --- a/gtk/gtkcombo.c +++ b/gtk/gtkcombo.c @@ -69,7 +69,7 @@ static void gtk_combo_unrealize (GtkWidget *widget); static void gtk_combo_destroy (GtkObject *combo); static GtkListItem *gtk_combo_find (GtkCombo *combo); static gchar * gtk_combo_func (GtkListItem *li); -static gint gtk_combo_focus_idle (GtkCombo *combo); +static gboolean gtk_combo_focus_idle (GtkCombo *combo); static gint gtk_combo_entry_focus_out (GtkEntry *entry, GdkEventFocus *event, GtkCombo *combo); @@ -411,6 +411,7 @@ gtk_combo_entry_focus_out (GtkEntry * entry, GdkEventFocus * event, GtkCombo * c g_cclosure_new_object (G_CALLBACK (gtk_combo_focus_idle), G_OBJECT (combo))); g_source_attach (focus_idle, NULL); + g_source_unref (focus_idle); /*g_signal_stop_emission_by_name (entry, "focus_out_event"); */ return TRUE; |