GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Aug 28, 2014 1:03 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: gtk_imlib_get_colormap undefined?
PostPosted: Mon Apr 21, 2008 2:08 pm 
Offline

Joined: Mon Apr 21, 2008 2:00 pm
Posts: 1
i have a question about the GTK;
there are the codes;

GtkWidget* canvas;
gtk_widget_push_visual(gdk_imlib_get_visual());
gtk_widget_push_colormap(gdk_imlib_get_colormap());
canvas = gnome_canvas_new();
gtk_widget_pop_visual();
gtk_widget_pop_colormap();

it is GDK mode ;
but when i compile, there is a error .
undefined reference to `gdk_imlib_get_colormap'
i have no idea about it.

i check the gdk_imlib.h . the gdk_imlib_get_colormap has been defined.
but if i haven't been defined . why the gdk_imlib_get_visual is ok?
can anyone know that?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group