gtk_entry_set_text implementation side-effect


one of my coworker has seen what can be seen as a side-effect in
gtk_entry_set_text implementation :

since gtk_entry_set_text uses gtk_editable_delete_text and
gtk_editable_insert_text, two "changed" signals are emitted, even if,
for the API user, only one call was done (_set_text).

Is it ok or should we block the first "changed" signal emission ?

Frederic Crozat <fcrozat mandrakesoft com>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]