Minor fix for a lingering usage of GTK2 style constant when setting the last resort icon.

This commit is contained in:
Stephen Boddy 2015-09-10 00:34:12 +02:00
parent e862175ed6
commit 76b9cd33e0
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class Window(Container, Gtk.Window):
else:
dbg('Unable to load %s icon' % (icon_name))
icon = self.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.ICON_SIZE_BUTTON)
icon = self.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.IconSize.BUTTON)
self.set_icon(icon)
def on_key_press(self, window, event):