problem with gdkgc



Hi,

My application read from 'configuration file' to display pixmap into 'fixed container'. The configuration file consist of
x and y data (for pixmap coordination purpose).  The problem is, my application crash when trying to display the pixmap
after read the configuration file for the second time. I need to read configuration file several times because the
x and y coordinate always changing. I'm using gtk+1.2.


error:
- - - - - - - - - - - - - - - -
Gdk-CRITICAL **: file gdkgc.c: line 51 (gdk_gc_new_with_values): assertion `window != NULL' failed.

Gdk-CRITICAL **: file gdkpixmap.c: line 62 (gdk_pixmap_new): assertion `(window != NULL) || (depth != -1)' failed.

Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap

Gdk-CRITICAL **: file gdkdraw.c: line 379 (gdk_draw_pixmap): assertion `drawable != NULL' failed.

Gtk-CRITICAL **: file gtkpixmap.c: line 97 (gtk_pixmap_new): assertion `val != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1427 (gtk_widget_show): assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkfixed.c: line 142 (gtk_fixed_put): assertion `widget != NULL' failed.







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