Date: Wed, 30 Nov 2011 09:35:45 -0700 (MST) From: "John Hein" <gnome-jfbml@snkmail.com> To: Rene Ladan <rene@freebsd.org>, <gnome@freebsd.org> Subject: gdk_get_default_root_window [was: (no subject)] Message-ID: <2851-1322670953-449649@sneakemail.com> In-Reply-To: <4ED3F56D.4050204@freebsd.org>
index | next in thread | previous in thread | raw e-mail
Rene Ladan wrote at 21:56 +0100 on Nov 28, 2011: > Hi, > > if I compile the attached program with 'gcc -o testgdk `pkg-config > gtk+-2.0 --libs --cflags` testgdk.c' it fails with this assertion: > > (process:55495): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: > assertion `GDK_IS_SCREEN (screen)' failed > > This is on an amd64-10 system with clang kernel/world and gcc ports. > All ports are at their current version except the X.org ports for which > I defined WITHOUT_NOUVEAU to let the binary NVidia driver work. > > It also fails with the xorg-dev ports. > > Is this a bug? > > Regards, > René > -- > http://www.rene-ladan.nl:8080/ > > GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC > (subkeys.pgp.net) > #include <stdio.h> > #include <gdk/gdk.h> > > int main(void) > { > gdk_get_default_root_window(); > return 0; > } Don't you need to call gtk_init first?home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2851-1322670953-449649>
