Commit ad2567ad authored by Johannes Schmid's avatar Johannes Schmid

tools: Create GSettings schema

parent bdccffb0
......@@ -49,6 +49,10 @@ libanjuta_tools_la_SOURCES= \
variable.c \
variable.h
prefs_ui_files = anjuta-tools.ui
prefs_name = org.gnome.anjuta.tools
include $(top_srcdir)/scripts/build-schemas.mk
EXTRA_DIST = \
$(plugin_in_files) \
$(tools_pixmaps_DATA) \
......
......@@ -156,8 +156,9 @@ atp_plugin_dispose (GObject *obj)
{
/* Warning this function could be called several times */
ATPPlugin *this = ANJUTA_PLUGIN_ATP (obj);
g_object_unref (this->settings);
if (this->settings)
g_object_unref (this->settings);
this->settings = NULL;
G_OBJECT_CLASS (parent_class)->dispose (obj);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment