summaryrefslogtreecommitdiff
path: root/gi/overrides/Gtk.py
diff options
context:
space:
mode:
authorGarrett Regier <garrettregier@gmail.com>2016-10-13 15:00:52 -0700
committerChristoph Reiter <creiter@src.gnome.org>2017-03-22 09:40:13 +0100
commite8c071f518a0e1c3e1877705291d24f056bed77e (patch)
tree066c7af5f9190693b9728c7eca70b9576e8141f3 /gi/overrides/Gtk.py
parentfb0404c0bf08dedf657ce1384b283223b7192df1 (diff)
downloadpygobject-e8c071f518a0e1c3e1877705291d24f056bed77e.tar.gz
overrides: Fix Gtk.TextBuffer.insert_with_tags_by_name() with no tags
The text was not inserted when no tags were provided. https://bugzilla.gnome.org/show_bug.cgi?id=772896
Diffstat (limited to 'gi/overrides/Gtk.py')
-rw-r--r--gi/overrides/Gtk.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 2c0e870c..63990eda 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -745,9 +745,6 @@ class TextBuffer(Gtk.TextBuffer):
self.apply_tag(tag, start, iter)
def insert_with_tags_by_name(self, iter, text, *tags):
- if not tags:
- return
-
tag_objs = []
for tag in tags: