Bug#643642: glade: Glade3 save GtkVBox as GtkBox

Magnus Danielson magnus at rubidium.dyndns.org
Wed Dec 28 02:18:48 UTC 2011


Hi Pierre-Luc,

I noticed the same behaviour, but when I changed my pkg-config 
parameters from

GTKFLAGS=`pkg-config --cflags --libs gtk+-2.0 gmodule-export-2.0`

to

GTKFLAGS=`pkg-config --cflags --libs gtk+-3.0 gmodule-export-2.0`

the problem disappeared. Looking at a snipped of my glade file

       <object class="GtkBox" id="box1">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="hexpand">True</property>
         <property name="vexpand">True</property>
         <property name="orientation">vertical</property>

The orientation flag now holds the V or H.

It should be expected that glade-3 generates code for gtk+-3.0 and not 
gtk+-2.0, but the issue is subtle.

Hence, that's why I thought I would contribute my observation.

Cheers,
Magnus





More information about the pkg-gnome-maintainers mailing list