gdk_draw_point failing ?



 
hi all, following code is giving 
 assertion `GDK_IS_DRAWABLE (drawable)' failed
can anybody tell me whts the problem with the 
gdk_draw_point ();
              thax for ur help.

GtkWidget *da;
da = gtk_drawing_area_new ();
gtk_drawing_area_size (GTK_DRAWING_AREA (da), 50, 50);
gtk_container_add (GTK_CONTAINER (window), da);
gtk_realize_widget (da);
gdk_draw_point (da->window, da->style->black_gc, 10,
10);



________________________________________________________________________
Yahoo! India Matrimony: Find your partner online.
Go to http://yahoo.shaadi.com



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