Date: Mon, 8 Aug 2005 17:16:29 -0700 From: <shellreef@gmail.com> To: freebsd-gnome@freebsd.org, tomdean@speakeasy.com Subject: [PATCH] Re: Gdk-WARNING G_MAXLONG Message-ID: <e7ce4935050808171640d93fe1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
On Sun Jul 31 21:20:26 GMT 2005, User Tomdean wrote: >When I start mozilla, I get the warning message: > >(mozilla-bin:27511): Gdk-WARNING **: gdk_property_get(): length value >has wrapped in calculation (did you pass G_MAXLONG?) > >I saw some references to this warning on the FreeBSD site, but, no >solution. > >Where is this message coming from? How do I eliminate it? Try applying this patch in the work/ directory of the port (for example, /usr/ports/www/firefox/work in my case): --- mozilla/gfx/src/gtk/nsScreenGtk.cpp.orig Mon Aug 8 17:10:38 2005 +++ mozilla/gfx/src/gtk/nsScreenGtk.cpp Thu Aug 4 00:43:54 2005 @@ -143,7 +143,7 @@ if (!gdk_property_get(root_window, gdk_atom_intern ("_NET_WORKAREA", FALSE), cardinal_atom, - 0, G_MAXLONG, FALSE, + 0, G_MAXLONG - 3, FALSE, &type_returned, &format_returned, &length_returned, http://www.mail-archive.com/debian-gtk-gnome@lists.debian.org/msg11615.html has more information. Similar fixes should apply to other GTK applications which provide this error. Hope this helps, -Jeff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e7ce4935050808171640d93fe1>