Commit 16508522 authored by Johannes Schmid's avatar Johannes Schmid

message-view: Fixed GSettings problem

parent 8bf2d1de
......@@ -24,8 +24,8 @@
#define MESSAGE_TYPE message_get_type()
#define PREFERENCES_SCHEMA "org.gnome.anjuta.message-manager"
#define COLOR_ERROR "messages.color.error"
#define COLOR_WARNING "messages.color.warning"
#define COLOR_ERROR "msgman-color-error"
#define COLOR_WARNING "msgman-color-warning"
struct _MessageViewPrivate
{
......@@ -952,7 +952,9 @@ prefs_init (MessageView *mview)
static void
prefs_finalize (MessageView *mview)
{
g_object_unref (mview->privat->settings);
if (mview->privat->settings)
g_object_unref (mview->privat->settings);
mview->privat->settings = NULL;
}
/* IAnjutaMessageView interface implementation */
......@@ -1267,4 +1269,4 @@ gint message_view_get_count (MessageView* view, MessageViewFlags flags)
ANJUTA_TYPE_BEGIN(MessageView, message_view, GTK_TYPE_HBOX);
ANJUTA_TYPE_ADD_INTERFACE(imessage_view, IANJUTA_TYPE_MESSAGE_VIEW);
ANJUTA_TYPE_END;
ANJUTA_TYPE_END;
\ No newline at end of file
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