Skip to content

Instantly share code, notes, and snippets.

@timo
Created July 13, 2019 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timo/81c7f3073436f5d15584c1372cb5fadc to your computer and use it in GitHub Desktop.
Save timo/81c7f3073436f5d15584c1372cb5fadc to your computer and use it in GitHub Desktop.
odd deprecation notices; why does it complain about a setting method?
GC times
frames per second:
1874.1305 1381.9783 1082.1218 793.0240 304.5309
timings:
0.0005 0.0007 0.0009 0.0013 0.0033
Saw 6 occurrences of deprecated code.
================================================================================
Method g_timeout (from GTK::Simple::App) seen at:
shoot_em_up.p6, line 212
Will be removed with release v0.3.2!
Please use g-timeout instead.
--------------------------------------------------------------------------------
Method queue_draw (from GTK::Simple::Widget) seen at:
shoot_em_up.p6, line 347
Will be removed with release v0.3.2!
Please use queue-draw instead.
--------------------------------------------------------------------------------
Method signal_supply (from GTK::Simple::Widget) seen at:
shoot_em_up.p6, lines 170,186
Will be removed with release v0.3.2!
Please use signal-supply instead.
--------------------------------------------------------------------------------
Method size_request (from GTK::Simple::Widget) seen at:
shoot_em_up.p6, lines 130,131
Will be removed with release v0.3.2!
Please use size-request instead.
--------------------------------------------------------------------------------
Method add_draw_handler (from GTK::Simple::DrawingArea) seen at:
shoot_em_up.p6, line 620
Will be removed with release v0.3.2!
Please use add-draw-handler instead.
--------------------------------------------------------------------------------
Method run-with-updated-recursion-list (from Lock::Async) seen at:
SETTING::src/core/Lock/Async.pm6, line 146
Will be removed with release v0.3.2!
Please use queue-draw instead.
--------------------------------------------------------------------------------
Please contact the author to have these occurrences of deprecated code
adapted, so that this message will disappear!
@b2gills
Copy link

b2gills commented Aug 9, 2019

It might have something to do with it using DEPRECATED which is for CORE functions, instead of the is DEPRECATED trait.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment