Dont use deprecated const

This commit is contained in:
Philipp Hörist 2018-10-26 00:47:36 +02:00
parent a7624b564f
commit 383e220e69
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class MessageTextView(Gtk.TextView):
chat/groupchat windows
"""
__gsignals__ = {
'text-changed': (GObject.SIGNAL_RUN_LAST, None, (Gtk.TextBuffer,))
'text-changed': (GObject.SignalFlags.RUN_LAST, None, (Gtk.TextBuffer,))
}
UNDO_LIMIT = 20