DGSEAL_ENABLE: replace direct addressing in statusbar



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



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