[Glade-devel] [glade-3] crash loading simple file



--=-85dMzmO1yxhnMYF0reRb
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Hi,

The attached file crashes glade-3 at present.

glade_widget_create_packing_properties() is calling
glade_widget_get_parent(), but the widget hasn't been added to its
parent at that point.

Has someone changed this recently?
I'm not sure what the correct fix is.

Damon


--=-85dMzmO1yxhnMYF0reRb
Content-Disposition: attachment; filename=test8
Content-Type: text/plain; name=test8; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<?xml version="1.0"?>
<glade-interface>
  <widget class="GtkWindow" id="window1">
    <property name="tooltip"></property>
    <child>
      <widget class="GtkTable" id="table1">
        <property name="tooltip"></property>
        <child>
          <widget class="GtkLabel" id="label1">
            <property name="tooltip"></property>
          </widget>
          <packing>
            <property name="left_attach">1</property>
            <property name="right_attach">2</property>
            <property name="top_attach">1</property>
            <property name="bottom_attach">2</property>
          </packing>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
        <child>
          <placeholder/>
        </child>
      </widget>
      <packing/>
    </child>
  </widget>
</glade-interface>

--=-85dMzmO1yxhnMYF0reRb--





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