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 701019 - [PATCH] GObject.timeout_add_seconds is deprecated in favor of GLib.timeout_add_seconds
[PATCH] GObject.timeout_add_seconds is deprecated in favor of GLib.timeout_a...
Status: RESOLVED FIXED
Product: gnome-sudoku
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gnome-sudoku-maint
gnome-sudoku-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-25 21:13 UTC by Dominique Leuenberger
Modified: 2013-08-15 23:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[PATCH] GObject.timeout_add_seconds is deprecated in favor of GLib.timeout_add_seconds (1.46 KB, patch)
2013-05-25 21:13 UTC, Dominique Leuenberger
committed Details | Review

Description Dominique Leuenberger 2013-05-25 21:13:26 UTC
Addresses issues like

/usr/lib/python2.7/site-packages/gnome_sudoku/main.py:280: PyGIDeprecationWarning: timeout_add_seconds is deprecated; use GLib.timeout_add_seconds instead
  self.autosave)
/usr/lib/python2.7/site-packages/gnome_sudoku/main.py:144: PyGIDeprecationWarning: timeout_add_seconds is deprecated; use GLib.timeout_add_seconds instead
  GObject.timeout_add_seconds(1, lambda *args: self.start_worker_thread() and True)
Comment 1 Dominique Leuenberger 2013-05-25 21:13:53 UTC
Created attachment 245310 [details] [review]
[PATCH] GObject.timeout_add_seconds is deprecated in favor of  GLib.timeout_add_seconds
Comment 2 Michael Catanzaro 2013-08-15 23:02:58 UTC
Pushed, thank you!