GNOME Bugzilla – Bug 625001
[examples] Don't use GdkDraw/GdkGC
Last modified: 2010-10-21 12:35:43 UTC
+++ This bug was initially created as a clone of Bug #624255 +++ We're using some to-be-deprecated GTK/GDK API in our examples (gdkdraw and gdkgc) and should switch to cairo for them.
examples/seek/jsseek.c: gdk_draw_rectangle (window, style->black_gc, TRUE, 0, 0, examples/seek/seek.c: gdk_draw_rectangle (window, style->black_gc, TRUE, 0, 0, icles/test-xoverlay.c: gdk_draw_rectangle (widget->window, widget->style->bg_gc[0], TRUE, icles/test-xoverlay.c: gdk_draw_rectangle (widget->window, widget->style->bg_gc[0], TRUE, icles/test-xoverlay.c: gdk_draw_rectangle (window, style->bg_gc[0], TRUE, icles/test-xoverlay.c: gdk_draw_rectangle (window, style->bg_gc[0], TRUE, icles/test-xoverlay.c: gdk_draw_rectangle (window, style->bg_gc[0], TRUE, icles/test-xoverlay.c: gdk_draw_rectangle (window, style->bg_gc[0], TRUE, icles/test-colorkey.c: gdk_draw_rectangle (window, style->white_gc, TRUE, 0, 0, icles/test-colorkey.c: gdk_draw_rectangle (window, trans_gc, TRUE, 0, 0, allocation.width, h); icles/test-colorkey.c: gdk_draw_point (window, trans_gc, x, y); icles/test-colorkey.c:static GdkGC *trans_gc = NULL; icles/test-colorkey.c: trans_gc = gdk_gc_new (window); icles/test-colorkey.c: gdk_gc_set_rgb_fg_color (trans_gc, &trans_color);
commit c1982cd6fe7ed111ee85d8e9b85365ecf72ccaf4 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Sat Jul 24 11:48:33 2010 +0200 examples: Use cairo instead of to-be-deprecated GDK API Fixes bug #625001.
*** Bug 627297 has been marked as a duplicate of this bug. ***
*** Bug 632685 has been marked as a duplicate of this bug. ***
*** Bug 632789 has been marked as a duplicate of this bug. ***