Re: GtkPlot



On Tue, 2006-04-18 at 15:07 +0200, Mickael Drean wrote:
 
>  I'm trying to compile example of GtkPlot 5.0 with DevCpp on win32 and
> i have the following errors :
>         gtkplot.c: In function `gtk_plot_class_init':
>         gtkplot.c:226: error: structure has no member named `draw'
>         gtkplot.c:232: error: structure has no member named `type'
>         gtkplot.c:240: error: structure has no member named `type'
>         gtkplot.c:243: warning: passing arg 5 of `gtk_signal_new' from
>         incompatible pointer type 
>         gtkplot.c:248: error: structure has no member named `type'
>         gtkplot.c:251: warning: passing arg 5 of `gtk_signal_new' from
>         incompatible pointer type
>         gtkplot.c: In function `gtk_plot_draw_text':
>         gtkplot.c:2028: error: `GdkColorContext' undeclared (first use
>         in this function)

It looks like that code expects GTK+ 1.x, instead of 2.x.
GdkColorContext was removed a *long* time ago.

  Federico





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