Commit 75862274 authored by Kai Willadsen's avatar Kai Willadsen

ui: Update deprecated GObject.ParamFlags usage

parent 690effe9
......@@ -27,17 +27,17 @@ class EmblemCellRenderer(Gtk.CellRenderer):
__gproperties__ = {
"icon-name": (str, "Named icon",
"Name for base icon",
"text-x-generic", GObject.PARAM_READWRITE),
"text-x-generic", GObject.ParamFlags.READWRITE),
"emblem-name": (str, "Named emblem icon",
"Name for emblem icon to overlay",
None, GObject.PARAM_READWRITE),
None, GObject.ParamFlags.READWRITE),
"secondary-emblem-name": (
str, "Named secondary emblem icon",
"Name for secondary emblem icon to overlay",
None, GObject.PARAM_READWRITE),
None, GObject.ParamFlags.READWRITE),
"icon-tint": (str, "Icon tint",
"GDK-parseable color to be used to tint icon",
None, GObject.PARAM_READWRITE),
None, GObject.ParamFlags.READWRITE),
}
icon_cache = {}
......
......@@ -61,7 +61,7 @@ class HistoryCombo(Gtk.ComboBox):
nick="History ID",
blurb="Identifier associated with entry's history store",
default=None,
flags=GObject.PARAM_READWRITE,
flags=GObject.ParamFlags.READWRITE,
)
history_length = GObject.Property(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment