[pygobject] gtk-demo: Don't use deprecated constructor for Gtk.Label



commit 3b5b590599ca98cc51871878618cd59fc05212d1
Author: Simon Feltman <sfeltman src gnome org>
Date:   Mon Aug 18 02:33:54 2014 -0700

    gtk-demo: Don't use deprecated constructor for Gtk.Label

 demos/gtk-demo/demos/pickers.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/demos/pickers.py b/demos/gtk-demo/demos/pickers.py
index b58720a..4d5347f 100644
--- a/demos/gtk-demo/demos/pickers.py
+++ b/demos/gtk-demo/demos/pickers.py
@@ -58,7 +58,7 @@ class PickersApp:
         table.attach_defaults(label, 0, 1, 2, 3)
         table.attach_defaults(picker, 1, 2, 2, 3)
 
-        label = Gtk.Label('Folder:')
+        label = Gtk.Label(label='Folder:')
         label.set_alignment(0.0, 0.5)
         picker = Gtk.FileChooserButton.new('Pick a Folder',
                                            Gtk.FileChooserAction.SELECT_FOLDER)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]