+
+ // if the control is not empty, two "changed" signals are emitted
+ if ( flags & SetValue_SendEvent )
+ {
+ if ( gtk_text_buffer_get_char_count(m_buffer) != 0 )
+ IgnoreNextTextUpdate();
+ }
+ else
+ {
+ if ( gtk_text_buffer_get_char_count(m_buffer) != 0 )
+ IgnoreNextTextUpdate(2);
+ else
+ IgnoreNextTextUpdate(1); // skip only one
+ }