Thread: error: implicit declaration of function ‘gdk_gc_new’
i trying build evolution packages debuild, build fails with:
e-spinner.c:702: error: implicit declaration of function ‘gdk_gc_new’
error warning.
how can compile without getting error, e-spinner need header file?
there way compile without getting error?
e-spinner.c:
...
gdkgc *gc;
...
window = gtk_widget_get_window (widget);
gc = gdk_gc_new (window);
gdk_draw_pixbuf (window, gc, pixbuf,
dest.x - x_offset - allocation.x,
dest.y - y_offset - allocation.y,
dest.x, dest.y,
dest.width, dest.height,
gdk_rgb_dither_max, 0, 0);
g_object_unref (gc);
thanks.
you can fix including gdk/gdkgc.h gtk include directory
included in main gdk file gdk/gdk.h
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Packaging and Compiling Programs error: implicit declaration of function ‘gdk_gc_new’
Ubuntu
Comments
Post a Comment