[gedit] spell: a GspellNavigator is now GInitiallyUnowned



commit b46d01c7234ccc4ec071fd9dc227bf957a8d8cbf
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Mar 12 13:35:41 2016 +0100

    spell: a GspellNavigator is now GInitiallyUnowned

 plugins/spell/gedit-spell-plugin.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-plugin.c b/plugins/spell/gedit-spell-plugin.c
index 820473c..dc430dd 100644
--- a/plugins/spell/gedit-spell-plugin.c
+++ b/plugins/spell/gedit-spell-plugin.c
@@ -183,7 +183,6 @@ check_spell_cb (GSimpleAction *action,
 
        navigator = gspell_navigator_text_view_new (GTK_TEXT_VIEW (view));
        dialog = gspell_checker_dialog_new (GTK_WINDOW (priv->window), navigator);
-       g_object_unref (navigator);
 
        gtk_widget_show (dialog);
 }


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