Weird compilation problem with GtkProgressBar
- From: Calin VATAVU - 5A <cvatavu aut utt ro>
- To: gtk-list redhat com
- Subject: Weird compilation problem with GtkProgressBar
- Date: Sun, 20 Sep 1998 18:00:19 +0300 (EEST)
I'm using Redhat 5.0 and I've installed gtk+-1.0.1-3 and
gtk+-devel-1.0.1-3.
When I'm trying to compile the folowing program (gtktst.c):
#include <gtk/gtk.h>
#include <glib.h>
int main()
{
GtkProgressBar *pbar;
gfloat a;
a = pbar->percentage;
}
I get the folowing errors:
gtktst.c: In function `main':
gtktst.c:9: structure has no member named `percentage'
Too weird... But GtkProgressBar (or _GtkProgressBar) HAS the member
percentage !!
Even if I say :
_GtkProgressBar *pbar;
I get the same errors!
Please help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]