gdk_property_get warnings

Eric Dorland eric at debian.org
Sun Jul 17 17:05:48 UTC 2005


Looks good, but I have to ask, why - 3? 

* Loïc Minier (lool at dooz.org) wrote:
>         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,
> 

> 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,


-- 
Eric Dorland <eric.dorland at mail.mcgill.ca>
ICQ: #61138586, Jabber: hooty at jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20050717/436f3c66/attachment.pgp


More information about the pkg-mozilla-maintainers mailing list