After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724985 - meld spits 'scary' warnings on startup
meld spits 'scary' warnings on startup
Status: RESOLVED FIXED
Product: meld
Classification: Other
Component: general
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2014-02-22 23:54 UTC by Dominique Leuenberger
Modified: 2014-02-25 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix deprecation warnings (3.34 KB, patch)
2014-02-22 23:56 UTC, Dominique Leuenberger
none Details | Review
Version 2 - without thread_init removed (2.90 KB, patch)
2014-02-24 21:47 UTC, Dominique Leuenberger
none Details | Review

Description Dominique Leuenberger 2014-02-22 23:54:04 UTC
bin/meld:157: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GObject.threads_init()
/home/dle1gis/Documents/osc/GNOME/Next/meld/meld/meld/meldwindow.py:137: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for name or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.actiongroup = Gtk.ActionGroup('MainActions')
/home/dle1gis/Documents/osc/GNOME/Next/meld/meld/meld/meldwindow.py:143: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for name, label, tooltip, stock_id or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  _("Open recent files"), None)
/home/dle1gis/Documents/osc/GNOME/Next/meld/meld/meld/ui/notebooklabel.py:41: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for homogeneous, spacing or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  Gtk.HBox.__init__(self, False, 4)
/home/dle1gis/Documents/osc/GNOME/Next/meld/meld/meld/meldwindow.py:497: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for name or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  self.tab_switch_actiongroup = Gtk.ActionGroup("TabSwitchActions")
/home/dle1gis/Documents/osc/GNOME/Next/meld/meld/meld/meldwindow.py:506: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for name, label, tooltip, stock_id, value or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  action = Gtk.RadioAction(name, label, tooltip, None, i)
Comment 1 Dominique Leuenberger 2014-02-22 23:56:11 UTC
Created attachment 270021 [details] [review]
Fix deprecation warnings
Comment 2 Kai Willadsen 2014-02-24 21:22:44 UTC
That all looks good except for the GObject.threads_init() removal. Current Meld requires only PyGObject 3.6, so we can't rely on the 3.10.2 change that made that call optional. If you could update your patch to remove that then I'll happily push the rest.
Comment 3 Dominique Leuenberger 2014-02-24 21:47:01 UTC
Created attachment 270187 [details] [review]
Version 2 - without thread_init removed
Comment 4 Kai Willadsen 2014-02-25 21:53:48 UTC
I've pushed your patch now. Thanks for the report and patch.