Hi Vincent,

Thanks very much for your patch! I can confirm that it fixes the
warnings with gramps -l, and one of the warnings I see in my old build
log. I didn't have the other one.

I still see another warning in the build log:
/tmp/buildd/gramps-4.2.1~dfsg/gramps/gen/constfunc.py:116: PyGIWarning:
Gtk was imported without specifying a version first. Use
gi.require_version('Gtk', '3.0') before import to ensure that the right
version gets loaded.
  from gi.repository import Gtk

I also see warnings with gramps -v:
ross@debian-VB-sid:~/Dropbox/Debian$ gramps -v
/usr/lib/python3/dist-packages/gi/overrides/Gtk.py:1554: Warning:
g_object_ref: assertion 'G_IS_OBJECT (object)' failed
  initialized, argv = Gtk.init_check(sys.argv)
/usr/lib/python3/dist-packages/gramps/grampsapp.py:173: PyGIWarning: Gtk
was imported without specifying a version first. Use
gi.require_version('Gtk', '3.0') before import to ensure that the right
version gets loaded.
  from gi.repository import Gtk
/usr/lib/python3/dist-packages/gramps/grampsapp.py:223: PyGIWarning:
OsmGpsMap was imported without specifying a version first. Use
gi.require_version('OsmGpsMap', '1.0') before import to ensure that the
right version gets loaded.
  from gi.repository import OsmGpsMap as osmgpsmap
/usr/lib/python3/dist-packages/gramps/grampsapp.py:238: PyGIWarning:
GExiv2 was imported without specifying a version first. Use
gi.require_version('GExiv2', '0.10') before import to ensure that the
right version gets loaded.
  from gi.repository import GExiv2

A quick grep reveals a few other places that may need the fix:
ross@ross-ixtreme-M5120:~/debian/gramps$ grep "from gi.repository" -rH *
debian/patches/gi-import-version.patch:         from gi.repository
import OsmGpsMap as osmgpsmap
debian/patches/gi-import-version.patch:         from gi.repository
import GExiv2
debian/patches/gi-import-version.patch: from gi.repository import Gtk
debian/patches/gi-import-version.patch: from gi.repository import PangoCairo
debian/patches/gi-import-version.patch: from gi.repository import GLib
gramps/gui/dialog.py:from gi.repository import GObject
gramps/gui/dialog.py:from gi.repository import Gtk
gramps/gui/dialog.py:from gi.repository import GdkPixbuf
gramps/gui/glade.py:from gi.repository import GObject
gramps/gui/glade.py:from gi.repository import Gtk
gramps/gui/plug/report/_textreportdialog.py:from gi.repository import Gtk
gramps/gui/plug/report/_textreportdialog.py:from gi.repository import
GObject
gramps/gui/plug/report/_fileentry.py:from gi.repository import Gtk
gramps/gui/plug/report/_fileentry.py:from gi.repository import GObject
gramps/gui/plug/report/_bookdialog.py:from gi.repository import Gdk
gramps/gui/plug/report/_bookdialog.py:from gi.repository import Gtk
gramps/gui/plug/report/_bookdialog.py:from gi.repository import GObject
gramps/gui/plug/report/_docreportdialog.py:from gi.repository import Gtk
gramps/gui/plug/report/_graphvizreportdialog.py:from gi.repository
import Gtk
gramps/gui/plug/report/_graphvizreportdialog.py:from gi.repository
import GObject
gramps/gui/plug/report/_papermenu.py:from gi.repository import Gtk
gramps/gui/plug/report/_papermenu.py:from gi.repository import GObject
gramps/gui/plug/report/_drawreportdialog.py:from gi.repository import Gtk
gramps/gui/plug/report/_drawreportdialog.py:from gi.repository import
GObject
gramps/gui/plug/report/_stylecombobox.py:from gi.repository import Gtk
gramps/gui/plug/report/_stylecombobox.py:from gi.repository import GObject
gramps/gui/plug/report/_reportdialog.py:from gi.repository import Gtk
gramps/gui/plug/report/_styleeditor.py:from gi.repository import Gtk, Gdk
gramps/gui/plug/_dialogs.py:from gi.repository import Gtk
gramps/gui/plug/export/_exportassistant.py:from gi.repository import Gtk
gramps/gui/plug/export/_exportassistant.py:from gi.repository import Gdk
gramps/gui/plug/export/_exportassistant.py:from gi.repository import
GdkPixbuf
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Pango
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import Gtk
gramps/gui/plug/export/_exportoptions.py:        from gi.repository
import GObject
gramps/gui/plug/_guioptions.py:from gi.repository import Gtk
gramps/gui/plug/_guioptions.py:from gi.repository import Gdk
gramps/gui/plug/_guioptions.py:from gi.repository import GObject
gramps/gui/plug/quick/_quickreports.py:from gi.repository import Gtk
gramps/gui/plug/quick/_textbufdoc.py:from gi.repository import Gtk
gramps/gui/plug/quick/_textbufdoc.py:from gi.repository import Pango,
PangoCairo
gramps/gui/plug/quick/_quicktable.py:from gi.repository import Gdk
gramps/gui/plug/quick/_quicktable.py:from gi.repository import Gtk
gramps/gui/plug/quick/_quicktable.py:                from gi.repository
import GLib
gramps/gui/plug/_windows.py:from gi.repository import Gtk
gramps/gui/plug/_windows.py:from gi.repository import Gdk
gramps/gui/plug/_windows.py:from gi.repository import Pango
gramps/gui/plug/_windows.py:from gi.repository import GObject
gramps/gui/pluginmanager.py:from gi.repository import Gtk, GdkPixbuf, Gdk
gramps/gui/editors/editname.py:from gi.repository import GObject
gramps/gui/editors/editname.py:from gi.repository import Gtk
gramps/gui/editors/editlink.py:from gi.repository import Gtk
gramps/gui/editors/editplacename.py:from gi.repository import Gtk
gramps/gui/editors/editsource.py:from gi.repository import Gtk
gramps/gui/editors/editchildref.py:from gi.repository import Gdk
gramps/gui/editors/editchildref.py:from gi.repository import Gtk
gramps/gui/editors/editchildref.py:from gi.repository import Gdk
gramps/gui/editors/editrepository.py:from gi.repository import Gtk
gramps/gui/editors/addmedia.py:from gi.repository import GdkPixbuf
gramps/gui/editors/editmedia.py:from gi.repository import Gtk
gramps/gui/editors/editmedia.py:from gi.repository import Gdk
gramps/gui/editors/editfamily.py:from gi.repository import Gtk
gramps/gui/editors/editfamily.py:from gi.repository import Gdk
gramps/gui/editors/editfamily.py:from gi.repository import Pango
gramps/gui/editors/editfamily.py:from gi.repository import GObject
gramps/gui/editors/editfamily.py:from gi.repository import GLib
gramps/gui/editors/objectentries.py:from gi.repository import Gdk
gramps/gui/editors/objectentries.py:from gi.repository import Gtk
gramps/gui/editors/objectentries.py:from gi.repository import Pango
gramps/gui/editors/editmediaref.py:from gi.repository import GdkPixbuf
gramps/gui/editors/editmediaref.py:from gi.repository import Gdk
gramps/gui/editors/filtereditor.py:from gi.repository import Gtk
gramps/gui/editors/filtereditor.py:from gi.repository import Gdk
gramps/gui/editors/filtereditor.py:from gi.repository import GObject
gramps/gui/editors/editprimary.py:from gi.repository import Gtk
gramps/gui/editors/editpersonref.py:from gi.repository import Gtk
gramps/gui/editors/editpersonref.py:from gi.repository import Gdk
gramps/gui/editors/editnote.py:from gi.repository import Gtk
gramps/gui/editors/editnote.py:from gi.repository import GObject
gramps/gui/editors/editnote.py:from gi.repository import Pango
gramps/gui/editors/editcitation.py:from gi.repository import Gtk
gramps/gui/editors/editperson.py:from gi.repository import Gtk
gramps/gui/editors/editperson.py:from gi.repository import Gdk
gramps/gui/editors/editperson.py:from gi.repository import Pango
gramps/gui/editors/editldsord.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/notemodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/citationembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/buttontab.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/buttontab.py:from gi.repository import Gdk
gramps/gui/editors/displaytabs/attrembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/webmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/srcattrembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/placerefembedlist.py:from gi.repository
import GObject
gramps/gui/editors/displaytabs/placerefembedlist.py:from gi.repository
import GLib
gramps/gui/editors/displaytabs/placerefmodel.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/gallerytab.py:from gi.repository import Gdk
gramps/gui/editors/displaytabs/gallerytab.py:from gi.repository import
GdkPixbuf
gramps/gui/editors/displaytabs/gallerytab.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/gallerytab.py:from gi.repository import Pango
gramps/gui/editors/displaytabs/gallerytab.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/gallerytab.py:from gi.repository import GLib
gramps/gui/editors/displaytabs/surnametab.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/surnametab.py:from gi.repository import Gdk
gramps/gui/editors/displaytabs/surnametab.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/surnametab.py:from gi.repository import Pango
gramps/gui/editors/displaytabs/ldsembedlist.py:from gi.repository import
GObject, GLib
gramps/gui/editors/displaytabs/attrmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/locationmodel.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/webembedlist.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/webembedlist.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/webembedlist.py:from gi.repository import
GLib
gramps/gui/editors/displaytabs/nameembedlist.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/nameembedlist.py:from gi.repository
import GObject
gramps/gui/editors/displaytabs/nameembedlist.py:from gi.repository
import GLib
gramps/gui/editors/displaytabs/childmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/placenameembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/placenamemodel.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/personeventembedlist.py:from
gi.repository import GObject
gramps/gui/editors/displaytabs/personeventembedlist.py:from
gi.repository import GLib
gramps/gui/editors/displaytabs/addrembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/ldsmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/eventrefmodel.py:from gi.repository
import GObject
gramps/gui/editors/displaytabs/eventrefmodel.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/eventrefmodel.py:from gi.repository
import Pango
gramps/gui/editors/displaytabs/reporefmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/groupembeddedlist.py:from gi.repository
import Gdk
gramps/gui/editors/displaytabs/groupembeddedlist.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/groupembeddedlist.py:from gi.repository
import Pango
gramps/gui/editors/displaytabs/groupembeddedlist.py:from gi.repository
import GObject
gramps/gui/editors/displaytabs/groupembeddedlist.py:from gi.repository
import GLib
gramps/gui/editors/displaytabs/eventembedlist.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/eventembedlist.py:from gi.repository
import GObject
gramps/gui/editors/displaytabs/eventembedlist.py:from gi.repository
import GLib
gramps/gui/editors/displaytabs/surnamemodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/personrefembedlist.py:from gi.repository
import GObject
gramps/gui/editors/displaytabs/personrefembedlist.py:from gi.repository
import GLib
gramps/gui/editors/displaytabs/grampstab.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/grampstab.py:from gi.repository import Gdk
gramps/gui/editors/displaytabs/grampstab.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/addressmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/repoembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/backrefmodel.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/backrefmodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/backrefmodel.py:from gi.repository import
GLib
gramps/gui/editors/displaytabs/citationrefmodel.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/notetab.py:from gi.repository import GObject
gramps/gui/editors/displaytabs/notetab.py:from gi.repository import GLib
gramps/gui/editors/displaytabs/embeddedlist.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/embeddedlist.py:from gi.repository import
GLib
gramps/gui/editors/displaytabs/embeddedlist.py:from gi.repository import Gdk
gramps/gui/editors/displaytabs/embeddedlist.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/embeddedlist.py:from gi.repository import
Pango
gramps/gui/editors/displaytabs/locationembedlist.py:from gi.repository
import GObject, GLib
gramps/gui/editors/displaytabs/personrefmodel.py:from gi.repository
import Gtk
gramps/gui/editors/displaytabs/backreflist.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/namemodel.py:from gi.repository import
GObject
gramps/gui/editors/displaytabs/namemodel.py:from gi.repository import Gtk
gramps/gui/editors/displaytabs/namemodel.py:from gi.repository import Pango
gramps/gui/editors/editplace.py:from gi.repository import Gtk
gramps/gui/editors/editreference.py:from gi.repository import Gtk
gramps/gui/editors/editevent.py:from gi.repository import Gtk
gramps/gui/editors/editdate.py:from gi.repository import Gtk
gramps/gui/editors/edittaglist.py:from gi.repository import Gtk
gramps/gui/editors/editaddress.py:from gi.repository import Gtk
gramps/gui/editors/editattribute.py:from gi.repository import Gtk
gramps/gui/listmodel.py:from gi.repository import Pango, Gdk, Gtk, GdkPixbuf
gramps/gui/dbloader.py:from gi.repository import Gtk
gramps/gui/dbloader.py:from gi.repository import GObject
gramps/gui/utilscairo.py:#from gi.repository import Pango
gramps/gui/utilscairo.py:#from gi.repository import GObject
gramps/gui/utilscairo.py:#from gi.repository import Gdk
gramps/gui/utilscairo.py:#from gi.repository import Gtk
gramps/gui/utilscairo.py:#from gi.repository import PangoCairo
gramps/gui/autocomp.py:from gi.repository import Gtk
gramps/gui/autocomp.py:from gi.repository import GObject
gramps/gui/views/tags.py:from gi.repository import Gtk
gramps/gui/views/tags.py:from gi.repository import Gdk
gramps/gui/views/bookmarks.py:from gi.repository import Gtk
gramps/gui/views/navigationview.py:from gi.repository import Gdk
gramps/gui/views/navigationview.py:from gi.repository import Gtk
gramps/gui/views/listview.py:from gi.repository import Gdk
gramps/gui/views/listview.py:from gi.repository import Gtk
gramps/gui/views/listview.py:from gi.repository import Pango
gramps/gui/views/treemodels/notemodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/placemodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/sourcemodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/repomodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/mediamodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/citationtreemodel.py:from gi.repository
import Gtk
gramps/gui/views/treemodels/flatbasemodel.py:from gi.repository import
GObject
gramps/gui/views/treemodels/flatbasemodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/eventmodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/familymodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/peoplemodel.py:from gi.repository import Gtk
gramps/gui/views/treemodels/peoplemodel.py:from gi.repository import GObject
gramps/gui/views/treemodels/citationlistmodel.py:from gi.repository
import Gtk
gramps/gui/views/treemodels/treebasemodel.py:from gi.repository import
GObject
gramps/gui/views/treemodels/treebasemodel.py:from gi.repository import Gtk
gramps/gui/views/pageview.py:from gi.repository import Gtk
gramps/gui/views/pageview.py:from gi.repository import Gdk
gramps/gui/navigator.py:from gi.repository import Gtk
gramps/gui/navigator.py:from gi.repository import Gdk
gramps/gui/ddtargets.py:from gi.repository import Gdk
gramps/gui/ddtargets.py:from gi.repository import Gtk
gramps/gui/displaystate.py:from gi.repository import Gdk
gramps/gui/displaystate.py:from gi.repository import Gtk
gramps/gui/displaystate.py:from gi.repository import GObject
gramps/gui/displaystate.py:from gi.repository import GLib
gramps/gui/spell.py:from gi.repository import Gtk
gramps/gui/spell.py:        from gi.repository import GtkSpell as Gtkspell
gramps/gui/spell.py:        from gi.repository import Gtkspell
gramps/gui/clipboard.py:from gi.repository import GObject
gramps/gui/clipboard.py:from gi.repository import Gdk
gramps/gui/clipboard.py:from gi.repository import Gtk
gramps/gui/clipboard.py:from gi.repository import GdkPixbuf
gramps/gui/aboutdialog.py:from gi.repository import GObject
gramps/gui/aboutdialog.py:from gi.repository import Gtk
gramps/gui/aboutdialog.py:from gi.repository import GdkPixbuf
gramps/gui/widgets/multitreeview.py:from gi.repository import Gdk
gramps/gui/widgets/multitreeview.py:from gi.repository import Gtk
gramps/gui/widgets/undoableentry.py:from gi.repository import GObject
gramps/gui/widgets/undoableentry.py:from gi.repository import Gdk
gramps/gui/widgets/undoableentry.py:from gi.repository import Gtk
gramps/gui/widgets/statusbar.py:from gi.repository import Gtk
gramps/gui/widgets/validatedmaskedentry.py:from gi.repository import GObject
gramps/gui/widgets/validatedmaskedentry.py:from gi.repository import GLib
gramps/gui/widgets/validatedmaskedentry.py:from gi.repository import Gdk
gramps/gui/widgets/validatedmaskedentry.py:from gi.repository import Gtk
gramps/gui/widgets/validatedmaskedentry.py:from gi.repository import
GdkPixbuf
gramps/gui/widgets/validatedmaskedentry.py:from gi.repository import Pango
gramps/gui/widgets/validatedcomboentry.py:from gi.repository import GObject
gramps/gui/widgets/validatedcomboentry.py:from gi.repository import Gdk
gramps/gui/widgets/validatedcomboentry.py:from gi.repository import Gtk
gramps/gui/widgets/basicentry.py:from gi.repository import GObject
gramps/gui/widgets/basicentry.py:from gi.repository import Gtk
gramps/gui/widgets/monitoredwidgets.py:from gi.repository import GObject
gramps/gui/widgets/monitoredwidgets.py:from gi.repository import Gtk
gramps/gui/widgets/monitoredwidgets.py:from gi.repository import Gdk
gramps/gui/widgets/monitoredwidgets.py:from gi.repository import Pango
gramps/gui/widgets/fanchartdesc.py:from gi.repository import Pango
gramps/gui/widgets/fanchartdesc.py:from gi.repository import GObject
gramps/gui/widgets/fanchartdesc.py:from gi.repository import Gdk
gramps/gui/widgets/fanchartdesc.py:from gi.repository import Gtk
gramps/gui/widgets/fanchartdesc.py:from gi.repository import PangoCairo
gramps/gui/widgets/styledtextbuffer.py:from gi.repository import GObject
gramps/gui/widgets/styledtextbuffer.py:from gi.repository import Gtk
gramps/gui/widgets/styledtextbuffer.py:from gi.repository import Pango
gramps/gui/widgets/fanchart.py:from gi.repository import Pango
gramps/gui/widgets/fanchart.py:from gi.repository import GObject
gramps/gui/widgets/fanchart.py:from gi.repository import Gdk
gramps/gui/widgets/fanchart.py:from gi.repository import Gtk
gramps/gui/widgets/fanchart.py:from gi.repository import PangoCairo
gramps/gui/widgets/valuetoolitem.py:from gi.repository import GObject
gramps/gui/widgets/valuetoolitem.py:from gi.repository import Gtk
gramps/gui/widgets/styledtexteditor.py:from gi.repository import GObject
gramps/gui/widgets/styledtexteditor.py:from gi.repository import Gdk
gramps/gui/widgets/styledtexteditor.py:from gi.repository import Gtk
gramps/gui/widgets/styledtexteditor.py:from gi.repository import Pango
gramps/gui/widgets/shortlistcomboentry.py:from gi.repository import GObject
gramps/gui/widgets/shortlistcomboentry.py:from gi.repository import Gtk
gramps/gui/widgets/grabbers.py:from gi.repository import Gdk
gramps/gui/widgets/photo.py:from gi.repository import GObject
gramps/gui/widgets/photo.py:from gi.repository import Gdk
gramps/gui/widgets/photo.py:from gi.repository import Gtk
gramps/gui/widgets/expandcollapsearrow.py:from gi.repository import GObject
gramps/gui/widgets/expandcollapsearrow.py:from gi.repository import Gtk
gramps/gui/widgets/expandcollapsearrow.py:from gi.repository import Gdk
gramps/gui/widgets/undoablebuffer.py:from gi.repository import GObject
gramps/gui/widgets/undoablebuffer.py:from gi.repository import Gtk
gramps/gui/widgets/grampletpane.py:from gi.repository import GObject
gramps/gui/widgets/grampletpane.py:from gi.repository import Gdk
gramps/gui/widgets/grampletpane.py:from gi.repository import Gtk
gramps/gui/widgets/grampletpane.py:from gi.repository import Pango
gramps/gui/widgets/buttons.py:from gi.repository import GObject
gramps/gui/widgets/buttons.py:from gi.repository import Gdk
gramps/gui/widgets/buttons.py:from gi.repository import Gtk
gramps/gui/widgets/toolcomboentry.py:#from gi.repository import GObject
gramps/gui/widgets/toolcomboentry.py:from gi.repository import Gtk
gramps/gui/widgets/linkbox.py:from gi.repository import GObject
gramps/gui/widgets/linkbox.py:from gi.repository import Gtk
gramps/gui/widgets/springseparator.py:from gi.repository import GObject
gramps/gui/widgets/springseparator.py:from gi.repository import Gtk
gramps/gui/widgets/dateentry.py:from gi.repository import Gtk
gramps/gui/widgets/placeentry.py:from gi.repository import Gtk
gramps/gui/widgets/progressdialog.py:from gi.repository import GObject
gramps/gui/widgets/progressdialog.py:from gi.repository import Gtk
gramps/gui/widgets/valueaction.py:from gi.repository import GObject
gramps/gui/widgets/valueaction.py:from gi.repository import Gtk
gramps/gui/widgets/menuitem.py:from gi.repository import GObject
gramps/gui/widgets/menuitem.py:from gi.repository import Gtk
gramps/gui/widgets/interactivesearchbox.py:from gi.repository import
GObject, Gtk, Gdk
gramps/gui/widgets/undoablestyledbuffer.py:from gi.repository import Gtk
gramps/gui/widgets/labels.py:from gi.repository import GObject
gramps/gui/widgets/labels.py:from gi.repository import Gdk
gramps/gui/widgets/labels.py:from gi.repository import Gtk
gramps/gui/widgets/labels.py:from gi.repository import Pango
gramps/gui/widgets/grampletbar.py:from gi.repository import GObject
gramps/gui/widgets/grampletbar.py:from gi.repository import Gtk
gramps/gui/widgets/selectionwidget.py:from gi.repository import Gtk
gramps/gui/widgets/selectionwidget.py:from gi.repository import Gdk
gramps/gui/widgets/selectionwidget.py:from gi.repository import GdkPixbuf
gramps/gui/widgets/selectionwidget.py:from gi.repository import GObject
gramps/gui/filters/_filterstore.py:from gi.repository import Gtk, GObject
gramps/gui/filters/_filtermenu.py:from gi.repository import Gtk
gramps/gui/filters/_filtermenu.py:from gi.repository import GObject
gramps/gui/filters/sidebar/_sourcesidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_familysidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_notesidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_sidebarfilter.py:from gi.repository import Gdk
gramps/gui/filters/sidebar/_sidebarfilter.py:from gi.repository import Gtk
gramps/gui/filters/sidebar/_sidebarfilter.py:from gi.repository import Pango
gramps/gui/filters/sidebar/_citationsidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_placesidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_personsidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_reposidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_mediasidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/sidebar/_eventsidebarfilter.py:from gi.repository
import Gtk
gramps/gui/filters/_filtercombobox.py:from gi.repository import Gtk
gramps/gui/filters/_filtercombobox.py:from gi.repository import GObject
gramps/gui/filters/_searchbar.py:from gi.repository import GObject
gramps/gui/filters/_searchbar.py:from gi.repository import Gdk
gramps/gui/filters/_searchbar.py:from gi.repository import Gtk
gramps/gui/grampsgui.py:        from gi.repository import GObject, GLib
gramps/gui/grampsgui.py:    from gi.repository import Pango, PangoCairo
gramps/gui/grampsgui.py:    from gi.repository import Gtk, Gdk
gramps/gui/merge/mergeperson.py:from gi.repository import Pango
gramps/gui/merge/mergeplace.py:from gi.repository import Gtk
gramps/gui/thumbnails.py:from gi.repository import Gtk
gramps/gui/thumbnails.py:from gi.repository import GObject
gramps/gui/thumbnails.py:from gi.repository import GdkPixbuf
gramps/gui/thumbnails.py:    from gi.repository import GConf
gramps/gui/utils.py:from gi.repository import PangoCairo
gramps/gui/utils.py:from gi.repository import GLib
gramps/gui/utils.py:        from gi.repository import Gtk
gramps/gui/utils.py:        from gi.repository import Gtk
gramps/gui/utils.py:        from gi.repository import Gtk
gramps/gui/utils.py:        from gi.repository import Gtk
gramps/gui/utils.py:    from gi.repository import GLib
gramps/gui/utils.py:    from gi.repository import Gtk
gramps/gui/utils.py:    from gi.repository import Gdk
gramps/gui/utils.py:    from gi.repository import Gdk
gramps/gui/utils.py:    from gi.repository import Gtk
gramps/gui/columnorder.py:from gi.repository import Gtk
gramps/gui/columnorder.py:from gi.repository import GObject
gramps/gui/undohistory.py:from gi.repository import Gtk
gramps/gui/undohistory.py:from gi.repository import GObject
gramps/gui/configure.py:from gi.repository import GObject
gramps/gui/configure.py:from gi.repository import Gdk
gramps/gui/configure.py:from gi.repository import Gtk
gramps/gui/logger/_errorview.py:from gi.repository import Gtk
gramps/gui/logger/_errorreportassistant.py:from gi.repository import Gdk
gramps/gui/logger/_errorreportassistant.py:from gi.repository import Gtk
gramps/gui/logger/_errorreportassistant.py:from gi.repository import
GdkPixbuf
gramps/gui/logger/_errorreportassistant.py:from gi.repository import GObject
gramps/gui/managedwindow.py:from gi.repository import Gtk
gramps/gui/glade/catalog/grampswidgets.py:from gi.repository import Gtk
gramps/gui/dbman.py:from gi.repository import Gdk
gramps/gui/dbman.py:from gi.repository import Gtk
gramps/gui/dbman.py:from gi.repository import Pango
gramps/gui/selectors/selectperson.py:from gi.repository import Gdk
gramps/gui/selectors/selectperson.py:from gi.repository import Gtk
gramps/gui/selectors/baseselector.py:from gi.repository import Gtk
gramps/gui/selectors/baseselector.py:from gi.repository import Pango
gramps/gui/selectors/selectobject.py:from gi.repository import Gtk
gramps/gui/actiongroup.py:from gi.repository import Gtk
gramps/gui/viewmanager.py:from gi.repository import Gtk
gramps/gui/viewmanager.py:        from gi.repository import
GtkosxApplication as QuartzApp
gramps/grampsapp.py:        from gi.repository import Gtk
gramps/grampsapp.py:        from gi.repository import GObject
gramps/grampsapp.py:        from gi.repository import Pango
gramps/grampsapp.py:            from gi.repository import OsmGpsMap as
osmgpsmap
gramps/grampsapp.py:            from gi.repository import GExiv2
gramps/plugins/view/geofamily.py:from gi.repository import Gdk
gramps/plugins/view/geofamily.py:from gi.repository import Gtk
gramps/plugins/view/eventview.py:from gi.repository import Gtk
gramps/plugins/view/persontreeview.py:from gi.repository import Gtk
gramps/plugins/view/repoview.py:from gi.repository import Gtk
gramps/plugins/view/fanchartview.py:from gi.repository import Gdk
gramps/plugins/view/fanchartview.py:from gi.repository import Gtk
gramps/plugins/view/geoclose.py:from gi.repository import Gtk
gramps/plugins/view/geoperson.py:from gi.repository import Gdk
gramps/plugins/view/geoperson.py:from gi.repository import Gtk
gramps/plugins/view/geoperson.py:from gi.repository import GObject
gramps/plugins/view/geoperson.py:from gi.repository import GLib
gramps/plugins/view/mediaview.py:from gi.repository import Gtk
gramps/plugins/view/geofamclose.py:from gi.repository import Gtk
gramps/plugins/view/geoevents.py:from gi.repository import Gdk
gramps/plugins/view/geoevents.py:from gi.repository import Gtk
gramps/plugins/view/sourceview.py:from gi.repository import Gtk
gramps/plugins/view/fanchartdescview.py:from gi.repository import Gdk
gramps/plugins/view/fanchartdescview.py:from gi.repository import Gtk
gramps/plugins/view/geoplaces.py:from gi.repository import Gdk
gramps/plugins/view/geoplaces.py:from gi.repository import Gtk
gramps/plugins/view/familyview.py:from gi.repository import Gtk
gramps/plugins/view/citationlistview.py:from gi.repository import Gtk
gramps/plugins/view/citationtreeview.py:from gi.repository import Gtk
gramps/plugins/view/dashboardview.py:from gi.repository import Gtk
gramps/plugins/view/geography.gpr.py:        from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/view/pedigreeview.py:from gi.repository import GObject
gramps/plugins/view/pedigreeview.py:from gi.repository import Gdk
gramps/plugins/view/pedigreeview.py:from gi.repository import Gtk
gramps/plugins/view/pedigreeview.py:from gi.repository import GdkPixbuf
gramps/plugins/view/pedigreeview.py:from gi.repository import PangoCairo
gramps/plugins/view/geomoves.py:from gi.repository import Gtk
gramps/plugins/view/geomoves.py:from gi.repository import Gdk
gramps/plugins/view/geomoves.py:from gi.repository import GObject
gramps/plugins/view/geomoves.py:from gi.repository import GLib
gramps/plugins/view/relview.py:from gi.repository import Gdk
gramps/plugins/view/relview.py:from gi.repository import Gtk
gramps/plugins/view/relview.py:from gi.repository import Pango
gramps/plugins/view/noteview.py:from gi.repository import Gtk
gramps/plugins/lib/libplaceview.py:from gi.repository import Gdk
gramps/plugins/lib/libplaceview.py:from gi.repository import Gtk
gramps/plugins/lib/libcairodoc.py:from gi.repository import Pango,
PangoCairo
gramps/plugins/lib/libcairodoc.py:        from gi.repository import Gtk, Gdk
gramps/plugins/lib/libpersonview.py:from gi.repository import Gtk
gramps/plugins/lib/libmetadata.py:from gi.repository import Gtk
gramps/plugins/lib/libmetadata.py:from gi.repository import GExiv2
gramps/plugins/lib/maps/cairoprint.py:from gi.repository import Gdk
gramps/plugins/lib/maps/cairoprint.py:from gi.repository import Gtk
gramps/plugins/lib/maps/messagelayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/messagelayer.py:from gi.repository import Gdk
gramps/plugins/lib/maps/messagelayer.py:from gi.repository import Pango,
PangoCairo
gramps/plugins/lib/maps/messagelayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/geography.py:from gi.repository import GObject
gramps/plugins/lib/maps/geography.py:from gi.repository import GLib
gramps/plugins/lib/maps/geography.py:from gi.repository import Gtk
gramps/plugins/lib/maps/geography.py:from gi.repository import GdkPixbuf
gramps/plugins/lib/maps/geography.py:from gi.repository import OsmGpsMap
as osmgpsmap
gramps/plugins/lib/maps/dummynogps.py:from gi.repository import GObject
gramps/plugins/lib/maps/dummynogps.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/dummylayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/dummylayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/lifewaylayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/lifewaylayer.py:from gi.repository import Gtk
gramps/plugins/lib/maps/lifewaylayer.py:from gi.repository import Gdk
gramps/plugins/lib/maps/lifewaylayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/libkml.py:from gi.repository import GObject
gramps/plugins/lib/maps/markerlayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/markerlayer.py:from gi.repository import Gtk
gramps/plugins/lib/maps/markerlayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/datelayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/datelayer.py:from gi.repository import Gtk
gramps/plugins/lib/maps/datelayer.py:from gi.repository import Gdk
gramps/plugins/lib/maps/datelayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/kmllayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/kmllayer.py:from gi.repository import Gdk
gramps/plugins/lib/maps/kmllayer.py:from gi.repository import Pango,
PangoCairo
gramps/plugins/lib/maps/kmllayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/placeselection.py:from gi.repository import GObject
gramps/plugins/lib/maps/placeselection.py:from gi.repository import Gtk
gramps/plugins/lib/maps/osmgps.py:from gi.repository import GObject
gramps/plugins/lib/maps/osmgps.py:from gi.repository import Gtk
gramps/plugins/lib/maps/osmgps.py:from gi.repository import Gdk
gramps/plugins/lib/maps/osmgps.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/lib/maps/constants.py:from gi.repository import OsmGpsMap
as osmgpsmap
gramps/plugins/lib/maps/selectionlayer.py:from gi.repository import GObject
gramps/plugins/lib/maps/selectionlayer.py:    from gi.repository import
OsmGpsMap as osmgpsmap
gramps/plugins/export/exportcsv.py:        from gi.repository import Gtk
gramps/plugins/export/exportpkg.py:from gi.repository import Gtk
gramps/plugins/sidebar/categorysidebar.py:from gi.repository import Gtk
gramps/plugins/sidebar/expandersidebar.py:from gi.repository import Gtk
gramps/plugins/sidebar/dropdownsidebar.py:from gi.repository import Gtk
gramps/plugins/docgen/cairodoc.py:from gi.repository import Pango,
PangoCairo
gramps/plugins/docgen/gtkprint.py:    from gi.repository import GObject
gramps/plugins/docgen/gtkprint.py:    from gi.repository import Gtk
gramps/plugins/gramplet/notes.py:from gi.repository import Gtk
gramps/plugins/gramplet/calendargramplet.py:        from gi.repository
import Gtk
gramps/plugins/gramplet/leak.py:from gi.repository import Gtk
gramps/plugins/gramplet/leak.py:from gi.repository import Gdk
gramps/plugins/gramplet/personresidence.py:from gi.repository import Gtk
gramps/plugins/gramplet/persondetails.py:from gi.repository import Gtk
gramps/plugins/gramplet/persondetails.py:from gi.repository import Pango
gramps/plugins/gramplet/events.py:from gi.repository import Gtk
gramps/plugins/gramplet/fanchartgramplet.py:from gi.repository import Pango
gramps/plugins/gramplet/fanchartgramplet.py:from gi.repository import Gtk
gramps/plugins/gramplet/fanchartgramplet.py:from gi.repository import Gdk
gramps/plugins/gramplet/descendant.py:from gi.repository import Gtk
gramps/plugins/gramplet/descendant.py:from gi.repository import Gdk
gramps/plugins/gramplet/backlinks.py:from gi.repository import Gtk
gramps/plugins/gramplet/todo.py:from gi.repository import Gtk
gramps/plugins/gramplet/repositorydetails.py:from gi.repository import Gtk
gramps/plugins/gramplet/repositorydetails.py:from gi.repository import Pango
gramps/plugins/gramplet/ageondategramplet.py:        from gi.repository
import Gtk
gramps/plugins/gramplet/ancestor.py:from gi.repository import Gtk
gramps/plugins/gramplet/mediapreview.py:from gi.repository import Gtk
gramps/plugins/gramplet/fanchartdescgramplet.py:from gi.repository
import Pango
gramps/plugins/gramplet/fanchartdescgramplet.py:from gi.repository
import Gtk
gramps/plugins/gramplet/fanchartdescgramplet.py:from gi.repository
import Gdk
gramps/plugins/gramplet/soundgen.py:from gi.repository import Gtk
gramps/plugins/gramplet/children.py:from gi.repository import Gtk
gramps/plugins/gramplet/placedetails.py:from gi.repository import Gtk
gramps/plugins/gramplet/placedetails.py:from gi.repository import Pango
gramps/plugins/gramplet/eval.py:from gi.repository import Gtk
gramps/plugins/gramplet/todogramplet.py:from gi.repository import Gtk
gramps/plugins/gramplet/gallery.py:from gi.repository import Gtk
gramps/plugins/gramplet/gramplet.gpr.py:        from gi.repository
import GExiv2
gramps/plugins/gramplet/citations.py:from gi.repository import Gtk
gramps/plugins/gramplet/locations.py:from gi.repository import Gtk
gramps/plugins/gramplet/attributes.py:from gi.repository import Gtk
gramps/plugins/gramplet/welcomegramplet.py:from gi.repository import Gtk
gramps/plugins/tool/mergecitations.py:from gi.repository import Gtk
gramps/plugins/tool/dumpgenderstats.py:from gi.repository import Gtk
gramps/plugins/tool/populatesources.py:from gi.repository import Gtk
gramps/plugins/tool/check.py:from gi.repository import Gtk
gramps/plugins/tool/extractcity.py:from gi.repository import Gtk
gramps/plugins/tool/extractcity.py:from gi.repository import GObject
gramps/plugins/tool/mediamanager.py:from gi.repository import Gtk
gramps/plugins/tool/mediamanager.py:from gi.repository import GObject
gramps/plugins/tool/mediamanager.py:from gi.repository import GdkPixbuf
gramps/plugins/tool/eventcmp.py:from gi.repository import Gtk
gramps/plugins/tool/patchnames.py:from gi.repository import Gtk
gramps/plugins/tool/patchnames.py:from gi.repository import GObject
gramps/plugins/tool/testcasegenerator.py:from gi.repository import Gtk
gramps/plugins/tool/removeunused.py:from gi.repository import Gdk
gramps/plugins/tool/removeunused.py:from gi.repository import Gtk
gramps/plugins/tool/removeunused.py:from gi.repository import GObject
gramps/plugins/tool/ownereditor.py:from gi.repository import Gtk
gramps/plugins/tool/verify.py:from gi.repository import Gdk
gramps/plugins/tool/verify.py:from gi.repository import Gtk
gramps/plugins/tool/verify.py:from gi.repository import GObject
gramps/plugins/tool/notrelated.py:from gi.repository import Gtk
gramps/plugins/tool/notrelated.py:from gi.repository import GObject
gramps/plugins/tool/finddupes.py:from gi.repository import Gtk
gramps/plugins/tool/changenames.py:from gi.repository import GObject
gramps/plugins/tool/changenames.py:from gi.repository import Gtk
gramps/plugins/tool/relcalc.py:from gi.repository import Gdk
gramps/plugins/tool/relcalc.py:from gi.repository import Gtk
gramps/gen/plug/_gramplet.py:        from gi.repository import Gtk
gramps/gen/plug/_gramplet.py:        from gi.repository import GObject, GLib
gramps/gen/plug/_gramplet.py:        from gi.repository import GObject, GLib
gramps/gen/plug/_gramplet.py:        from gi.repository import GLib
gramps/gen/constfunc.py:            from gi.repository import Gtk
gramps/gen/constfunc.py:            from gi.repository import Gdk
gramps/gen/constfunc.py:        from gi.repository import Gtk
gramps/gen/constfunc.py:        from gi.repository import Gdk
gramps/gen/utils/image.py:    from gi.repository import GdkPixbuf
gramps/gen/utils/image.py:        from gi.repository import Gdk
gramps/gen/utils/image.py:    from gi.repository import GdkPixbuf
gramps/gen/utils/image.py:    from gi.repository import GObject
gramps/gen/utils/image.py:    from gi.repository import GdkPixbuf
gramps/gen/utils/image.py:    from gi.repository import GdkPixbuf
test/GrampsLogger/GtkHandler_Test.py:from gi.repository import Gtk
windows/nsis/gcheck.py:    from gi.repository import Gtk

I will hopefully upload your patch extended to fix at least the gramps
-v & remaining build log item warnings with Gramps 4.1.2.

The rest probably should be done as a pull request upstream on the
master (currently gramps 5.0), so that the automatic testing will pick
up any problems.

Cheers,

Ross

Reply via email to