Re: GtkStatusbar and DGSEAL_ENABLE

2011-04-20 Thread Javier Jardón
On 9 April 2011 19:44, Carlos Pereira wrote: > Hi there, Hello Carlos, > Perhaps we could have a function: > label = gtk_statusbar_get_label (GTK_STATUSBAR (statusbar)); > > This way GTK developers could futurely change the inner workings of > GtkStatusbar without affecting user code that needs

GtkStatusbar and DGSEAL_ENABLE

2011-04-09 Thread Carlos Pereira
Hi there, In order to conform with -DGSEAL_ENABLE, I replaced this old code: gtk_misc_set_alignment (GTK_MISC (GTK_STATUSBAR (statusbar)->label), 0.5, 0.5); by this new one: hbox = gtk_statusbar_get_message_area (GTK_STATUSBAR (statusbar)); label = GTK_WIDGET (gtk_container_get_children (GTK_C