GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

gtk_imlib_get_colormap undefined?

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
kvanish



Joined: 21 Apr 2008
Posts: 1

PostPosted: Mon Apr 21, 2008 2:08 pm    Post subject: gtk_imlib_get_colormap undefined? Reply with quote

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?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP