GNOME Bugzilla – Bug 642059
kill off shell-drawing
Last modified: 2011-02-14 14:39:47 UTC
depends on bug 642058
Created attachment 180614 [details] [review] shell-drawing: remove shell_draw_box_pointer() This was originally done in C because it used cairo, but that can be done from JS now. Since it was only used by altTab.js, move it there.
Created attachment 180615 [details] [review] shell-drawing: remove Remove shell-drawing.[ch], which now only contained shell_draw_clock(), which hadn't been used since the sidebar went away.
Review of attachment 180615 [details] [review]: Looks straightforward enough.
Review of attachment 180614 [details] [review]: Looks like a correct translation from C to JS. (Though the removal of the assert_not_reached here is fine - had little important function, does remind me that I'd like Lang.assert() or even a GJS builtin ... sometimes you *do* want to assert.)
Attachment 180614 [details] pushed as 0c0e2cc - shell-drawing: remove shell_draw_box_pointer() Attachment 180615 [details] pushed as 688b969 - shell-drawing: remove