]> Pileus Git - ~andy/gtk/commit
entrycompletion: Don't reconnect signals all the time
authorBenjamin Otte <otte@redhat.com>
Tue, 5 Mar 2013 12:09:10 +0000 (13:09 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 5 Mar 2013 12:09:10 +0000 (13:09 +0100)
commitdc331ccb171151d737112d8dc55b25709271d2c7
treea9664e5aa7fc5d663c4d7120a7acc9eea4fcb145
parent173317e9ce6d8ccb3fe9371e270aea38cd76c3ef
entrycompletion: Don't reconnect signals all the time

We block signal handlers areound GtkEntry signal emission and if those
signals get used to call functions on the completion that cause a
reconnection of the signals, then the reconnected signals will not be
blocked anymore (so they might get emitted?) and unblocking the old
signal id will later cause warnings.

Fixes spurious warnings in gtk/tests/filechooser tests.
gtk/gtkentrycompletion.c