Re: couple dialog tweaks


Joe Shaw <joe ximian com> writes:

> In terms of code or appearance? A quick look at gtkdialog.h shows that the
> seperator is supposed to be a private member, so any code outside of gtk
> that accesses it is broken. 

what's broken about code like

  gtk_widget_hide (GTK_WIDGET (g_list_nth_data (gtk_container_children (GTK_CONTAINER (GTK_BIN (dialog)->child)), 1)));

This is what you had to do to hide the separator until the recent API
changes were made. Not very nice indeed, but I wouldn't it consider 

Salut, Sven

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