Re: GDK/Cairo question
- From: Fabian Greffrath <fabian greffrath com>
- To: David NeÄas <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GDK/Cairo question
- Date: Thu, 19 May 2011 09:28:55 -0700
Am 18.05.2011 08:01, schrieb David NeÄas:
P.S.: This cannot hapen:
if (!win)
GLib would abort the program if a new object could not be allocated.
It can. If you e.g. comment out the line
attr.window_type = GDK_WINDOW_TOPLEVEL;
then the program will abort with
$ ./cairo_test
(cairo_test:21183): Gdk-WARNING **:
/build/buildd-gtk+3.0_3.0.8-1-i386-1AHGdN/gtk+3.0-3.0.8/./gdk/gdkwindow.c:1342cannot
make windows of type 8
Cannot make toplevel window!
Please note that the "Cannot make toplevel window!\n" string is only
printer if (!win).
- Fabian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]