Make clear this warning is understood

svn: r19965
This commit is contained in:
Benny Malengier 2012-07-09 22:54:45 +00:00
parent 3430acd2d5
commit 0b8d0a1a95

View File

@ -19,6 +19,7 @@
# #
# $Id$ # $Id$
from __future__ import print_function
"Text editor subclassed from Gtk.TextView handling L{StyledText}." "Text editor subclassed from Gtk.TextView handling L{StyledText}."
@ -188,6 +189,7 @@ class StyledTextEditor(Gtk.TextView):
#but still gives error on output: #but still gives error on output:
#/usr/local/lib/python2.7/site-packages/gi/types.py:47: #/usr/local/lib/python2.7/site-packages/gi/types.py:47:
# Warning: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed # 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 StyledTextEditor.FONTS = [f.get_name() for f in
self.get_pango_context().list_families()] self.get_pango_context().list_families()]
StyledTextEditor.FONTS.sort() StyledTextEditor.FONTS.sort()