Hi All, I'm having a strange problem using
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(Battery), x);
I have it in two places, the first in my file that has main() and that works like I'd expect. The second in a different module and that compiles and runs but fails to change the progress bar. Stepping using cgdb I can step through the Gtk code but I'm lost with that. I've included a simplified code modules to give some idea of what I'm doing. Is this because I'm using g++ rather than gcc?
void controller(void){
int n, unpack_fg, w;
gdouble w;
/* The following seems to be ignored */
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR(Battery), w); //BAR IS UNCHANGED!
}
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list