Re: menuitem confusion

On 01.07.2012 16:22, Dave M wrote:
Mine's close to that - just has an extra "introspectable="0"" line:

       <constructor name="new"
         <doc xml:whitespace="preserve">Creates a new #GtkRadioMenuItem.</doc>
         <return-value transfer-ownership="none">
           <doc xml:whitespace="preserve">a new #GtkRadioMenuItem</doc>
           <type name="Widget" c:type="GtkWidget*"/>
           <parameter name="group" transfer-ownership="none">
             <doc xml:whitespace="preserve">the group to which the
radio menu item is to be attached</doc>
             <type name="GLib.SList" c:type="GSList*">
               <type name="gpointer" c:type="gpointer"/>

Is that extra line the problem?  If it worked, I would have been done
with the whole RadioMenuItem by now.  Weird!

Yep, that line's an indicator of the problem: the "group" parameter has incomplete type information. This was fixed only very recently: <>. Only gtk+ >= 3.5.4 contains this fix. Do you have the possibility to run against such a version of gtk+ (for example by using jhbuild)?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]