Bogus (?) GtkDialog/GtkMessageDialog separator handling

When browsing the GTK+ source code, I noted that GtkDialog contains a
private data struct with a ignore_separator bool, plus a pseudo-private
(protected in terms of java, through _gtk_dialog_set_ignore_separator)
setter API for that variable.
GtkMessageDialog sets ignore_separator to FALSE, calls the public
GtkDialog set_separator API and re-sets ignore_separator to TRUE. I
really don't see any point in doing so. Why should the public separator
property of the dialog be ignored and instead be overridden by the
message dialog property? Why does the message dialog class have the
"use_separator" property, while the dialog parent class already has a
"has_separator" property?


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