Skip to content

Commit

Permalink
Use GObject.SignalFlags.RUN_LAST instead of GObject.SIGNAL_RUN_LAST
Browse files Browse the repository at this point in the history
  • Loading branch information
salah authored and jrfonseca committed Nov 10, 2022
1 parent ed1ce8f commit 1b3a171
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xdot/ui/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class DotWidget(Gtk.DrawingArea):

# TODO GTK3: Second argument has to be of type Gdk.EventButton instead of object.
__gsignals__ = {
'clicked': (GObject.SIGNAL_RUN_LAST, None, (str, object)),
'error': (GObject.SIGNAL_RUN_LAST, None, (str,)),
'history': (GObject.SIGNAL_RUN_LAST, None, (bool, bool))
'clicked': (GObject.SignalFlags.RUN_LAST, None, (str, object)),
'error': (GObject.SignalFlags.RUN_LAST, None, (str,)),
'history': (GObject.SignalFlags.RUN_LAST, None, (bool, bool))
}

filter = 'dot'
Expand Down

0 comments on commit 1b3a171

Please sign in to comment.