+2007-04-04 Jim Evins <evins@snaught.com>
+
+ * src/ui-property-bar.c: (gl_ui_property_bar_finalize),
+ (gl_ui_property_bar_construct):
+ Save copy of GladeXML tree so that we don't lose tooltips.
+
2007-04-02 Jim Evins <evins@snaught.com>
* src/merge-properties-dialog.c:
glView *view;
+ GladeXML *gui;
+
GtkWidget *tool_bar;
/* Font selection */
if (property_bar->priv->view) {
g_object_unref (G_OBJECT(property_bar->priv->view));
}
+ if (property_bar->priv->gui)
+ {
+ g_object_unref (G_OBJECT(property_bar->priv->gui));
+ }
g_free (property_bar->priv);
G_OBJECT_CLASS (gl_ui_property_bar_parent_class)->finalize (object);
property_bar->priv->line_width_spin =
glade_xml_get_widget (gui, "line_width_spin");
- g_object_unref (gui);
+ /* Save reference to gui tree so we don't lose tooltips */
+ property_bar->priv->gui = gui;
set_doc_items_sensitive (property_bar, FALSE);