From 0b8d0a1a9508e08fe305cd51f0189b4c6a30d183 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 9 Jul 2012 22:54:45 +0000 Subject: [PATCH] Make clear this warning is understood svn: r19965 --- src/gui/widgets/styledtexteditor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widgets/styledtexteditor.py b/src/gui/widgets/styledtexteditor.py index be7e9082e..311d670e5 100644 --- a/src/gui/widgets/styledtexteditor.py +++ b/src/gui/widgets/styledtexteditor.py @@ -19,6 +19,7 @@ # # $Id$ +from __future__ import print_function "Text editor subclassed from Gtk.TextView handling L{StyledText}." @@ -188,6 +189,7 @@ class StyledTextEditor(Gtk.TextView): #but still gives error on output: #/usr/local/lib/python2.7/site-packages/gi/types.py:47: # Warning: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed + print ('GRAMPS GTK3: a g_value_get_object warning:') StyledTextEditor.FONTS = [f.get_name() for f in self.get_pango_context().list_families()] StyledTextEditor.FONTS.sort()