GNOME Bugzilla – Bug 571740
Get rid of deprecated libgnomecanvas
Last modified: 2009-06-05 07:48:10 UTC
According to http://live.gnome.org/TwoPointTwentyfive/Platform libgnomecanvas has been deprecated for years and should be removed. $:\> grep -r "#include <libgnomecanvas/" . ./anjuta/plugins/profiler/gprof-function-call-chart-view.h:#include <libgnomecanvas/libgnomecanvas.h> ./anjuta/libanjuta/e-splash.c:#include <libgnomecanvas/gnome-canvas-pixbuf.h> ./anjuta/libanjuta/e-splash.c:#include <libgnomecanvas/libgnomecanvas.h>
I'm also surprised that I can't find anything like "libgnomecanvas-2.0" in configure.in...
What the replacement for gnomecanvas (btw, it's mainly used by the splash screen...)
Good question that should be brought up to d-d-l and r-t to finally share knowledge here. In 2006 EOG mostly ported functionality based on gnomecanvas to Pango I'd say.
Created attachment 129754 [details] [review] First try to convert it all to use cairo instead. Don't know if the spacing between the text and the progressbar is correct.
Created attachment 129876 [details] [review] The former patch got the color of the progress bar inverted, this also changes the indentation a bit.
Thanks! I like the way it looks now. What a pity that the splash screen is not visible for a longer time ;) I guess the profiler plugin will be more difficult as it makes use of a real canvas.
(In reply to comment #6) > I guess the profiler plugin will be more difficult as it makes use of a real > canvas. There's no profiler plugin in http://git.gnome.org/cgit/anjuta/tree/plugins/ . Is that by purpose (-> bug FIXED) or just another git hickup?
profiler was moved into anjuta-extras repository.
(In reply to comment #8) > profiler was moved into anjuta-extras repository. ...which is not part of any official GNOME release set. Thanks for clarifying! --> Closing as FIXED.
For the canvas question, see here the possible alternatives: http://live.gnome.org/ProjectRidley/CanvasOverview
None of these is in the official release set which doesn't improve the situation for anjuta-extras in any way.