← Back to team overview

desktop-packages team mailing list archive

[Bug 769256] Re: Gdk enumerations do not contain GType info in GIR

 

Indeed, "diff -u /usr/share/gir-1.0/Gdk-3.0.gir /home/martin-
scratch/gnome/share/gir-1.0/Gdk-3.0.gir" shows e. g.

-    <enumeration name="EventType" c:type="GdkEventType">
+    <enumeration name="EventType"
+                 glib:type-name="GdkEventType"
+                 glib:get-type="gdk_event_type_get_type"
+                 c:type="GdkEventType">


** Changed in: gtk+3.0 (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Also affects: gtk+3.0 (Ubuntu Oneiric)
   Importance: High
     Assignee: Martin Pitt (pitti)
       Status: Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/769256

Title:
  Gdk enumerations do not contain GType info in GIR

Status in GTK+ GUI Toolkit:
  Unknown
Status in “gtk+3.0” package in Ubuntu:
  Confirmed
Status in “gtk+3.0” source package in Oneiric:
  Confirmed

Bug description:
  Gdk-3.0.{gir,typelib} omits GType info for enumerations. So the
  following script will fail:

  #!/usr/bin/python
  import pyatspi
  from gi.repository import Gdk

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/769256/+subscriptions