I believe you'd want to use gtk_statusbar_get_message_area: statusbar = gtk_statusbar_new (); label = gtk_statusbar_get_message_area (GTK_STATUSBAR (statusbar)); gtk_misc_set_alignment (GTK_MISC (label), 0.5, 0.5);
On Sun, 04 Jul 2010 06:09:09 +0100 Carlos Pereira <jose.carlos.pere...@ist.utl.pt> wrote: > Hi, > How can I rewrite the following code, to be GTK 3.0 ready (without > addressing directly the label, forbidden by the -DGSEAL_ENABLE mechanism)? > > statusbar = gtk_statusbar_new (); > gtk_misc_set_alignment (GTK_MISC (GTK_STATUSBAR (statusbar)->label), > 0.5, 0.5); > > Cheers, > Carlos > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list -- Nader Morshed <morshed.na...@gmail.com> _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list