gtk_pixmap_get()



Is gtk_pixmap_get() broken in Gtk+-1.2.7 ?

I am doing the following:

void test(GtkWidget *pixmap) {
GdkPixmap **gdkpixmap;
GdkBitmap **gdkbitmap;

gtk_pixmap_get((GtkPixmap*)pixmap, gdkpixmap, gdkbitmap);

return;
}

and it segfaults everytime

In gdb it shows the seg is in the last line of gtk_pixmap_finalize() in
gtkpixmap.c  (not sure why or how its getting to gtk_pixmap_finalize)

Will be more than happy to send a backtrace/core if it would help, or maybe
this is known issue and I am just doing something wrong?

-CZ




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