gdk_property_get warnings
Loïc Minier
lool at dooz.org
Sun Jul 17 16:25:28 UTC 2005
Hi,
On Sun, Jul 17, 2005, Loïc Minier wrote:
> I attach a patch probably solving the warnings for firefox, I hope
> firefox maintainers will apply it soon, so that the other bugs can be
> more easily spotted. The patch is about the same for mozilla (same
> file, same change), but I'm not sure how to integrate it in the
> build-system (level of patch etc.)
I suck. Here it is.
Bye,
--
Loïc Minier <lool at dooz.org>
Come, your destiny awaits!
-------------- next part --------------
diff -urN mozilla-firefox-1.0.5.orig/gfx/src/gtk/nsScreenGtk.cpp mozilla-firefox-1.0.5/gfx/src/gtk/nsScreenGtk.cpp
--- mozilla-firefox-1.0.5.orig/gfx/src/gtk/nsScreenGtk.cpp 2004-04-20 19:35:51.000000000 +0200
+++ mozilla-firefox-1.0.5/gfx/src/gtk/nsScreenGtk.cpp 2005-07-17 18:10:27.104328544 +0200
@@ -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,
More information about the pkg-mozilla-maintainers
mailing list