gtk_init(NULL, NULL) segfault
- From: robertk54 aol com
- To: gtk-i18n-list gnome org
- Subject: gtk_init(NULL, NULL) segfault
- Date: Fri, 27 Jan 2012 08:49:41 -0500 (EST)
I am using a GDK pixbuf for rendering images onto a Cairo surface. I have a Windows application used for prototyping this. It initializes GTK by calling gtk_init(NULL, NULL). This works fine and the application renders images well. The target for this application is Linux and the same call results in a warning ((<unknown>:32758): Gdk-WARNING **: cannot open display:) followed by a segfault. Is there something else I need to do in order to satisfy the gtk_init API on Linux?
Thanks!
Bob
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]