diff options
author | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-01 17:48:12 +0200 |
---|---|---|
committer | Sebastian Koslowski <koslowski@kit.edu> | 2016-06-01 17:48:12 +0200 |
commit | 438dbd8839ad4c9079c5b8c2573bd9009b2b2e51 (patch) | |
tree | 1c080bac6fa5229fd8f1d2f8cd58aa6eecaf245c /grc/gui/NotebookPage.py | |
parent | b2f0a4cfc523a6b81c7896408a48949929c67a88 (diff) |
grc: gtk3: remove some deprecated warnings
Diffstat (limited to 'grc/gui/NotebookPage.py')
-rw-r--r-- | grc/gui/NotebookPage.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/grc/gui/NotebookPage.py b/grc/gui/NotebookPage.py index e7a024ab3e..bcfb4d87fe 100644 --- a/grc/gui/NotebookPage.py +++ b/grc/gui/NotebookPage.py @@ -54,8 +54,7 @@ class NotebookPage(Gtk.HBox): # tab box to hold label and close button self.label = Gtk.Label() - image = Gtk.Image() - image.set_from_stock('gtk-close', Gtk.IconSize.MENU) + image = Gtk.Image.new_from_icon_name('window-close', Gtk.IconSize.MENU) image_box = Gtk.HBox(homogeneous=False, spacing=0) image_box.pack_start(image, True, False, 0) button = Gtk.Button() |