Gdk.FUNC_MOVE indeed doesn't exist. As /usr/share/gir-1.0/Gdk-3.0.gir shows, the constant names is Gdk.WMFunction.MOVE (same in 2.0).
While looking at this I noticed that softwareproperties/gtk/DialogAddSourcesList.py does
import pygtk
from gi.repository import Gdk
from gi.repository import Gtk
Note that this is *highly* dangerous and prone to crash. You must not mix the static bindings with GI bindings, otherwise the two will fight each other badly and cause unknown symbols, crashes, or other memory corruption.
Gdk.FUNC_MOVE indeed doesn't exist. As /usr/share/ gir-1.0/ Gdk-3.0. gir shows, the constant names is Gdk.WMFunction.MOVE (same in 2.0).
While looking at this I noticed that softwarepropert ies/gtk/ DialogAddSource sList.py does
import pygtk
from gi.repository import Gdk
from gi.repository import Gtk
Note that this is *highly* dangerous and prone to crash. You must not mix the static bindings with GI bindings, otherwise the two will fight each other badly and cause unknown symbols, crashes, or other memory corruption.