Bug#315083: libgtk2.0-0: breaks mozilla-firefox on amd64

Loïc Minier lool at dooz.org
Sun Oct 2 09:37:32 UTC 2005


retitle 315083 remove gdk_property_get warning
tags 315083 + pending patch
thanks

        Hi,

On Mon, Jun 20, 2005, Martin Dickopp wrote:
> (firefox-bin:6091): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?)

 This should be fixed in recent firefox.  The warning was removed in
 recent Gtk versions too, and I've backported the change to 2.6 which
 should close this bug.

 I'm only keeping the bug open to avoid forgetting that the warning
 needs removal.

> This happens on my x86 machine as well as on my amd64 machine. On the
> x86 machine, firefox starts nevertheless, but on the amd64 machine, no
> browser window opens, so that firefox is unusable.
> I am reporting this as a minor bug since the amd64 port is not official.

 The amd64 issue is a different one, which is fixed in recent firefox
 versions too.

   Cheers,
-- 
Loïc Minier <lool at dooz.org>
-------------- next part --------------
--- gdk/x11/gdkproperty-x11.c   2005-05-18 16:46:14.000000000 +0200
+++ /tmp/gtk2.0/gtk+2.0-2.8.3/upstream/tarballs/gtk+-2.8.3/gdk/x11/gdkproperty-x11.c    2005-08-27 06:23:04.000000000 +0200
@@ -530,11 +530,8 @@
    */
   get_length = length + 3;
   if (get_length > G_MAXLONG)
-    {
-      g_warning ("gdk_property_get(): length value has wrapped in calculation "
-                "(did you pass G_MAXLONG?)");
-      get_length = G_MAXLONG;
-    }
+    get_length = G_MAXLONG;
+
   /* To fail, either the user passed 0 or G_MAXULONG */
   get_length = get_length / 4;
   if (get_length == 0)


More information about the Pkg-gnome-maintainers mailing list