GNOME Bugzilla – Bug 604196
Remove GdkFont deprecated code
Last modified: 2010-06-28 21:49:35 UTC
I removed GdkFont and uses of GdkFont, such as gtk_draw_text and other uses. I would like someone to have a look over it, and see if this is correct since it touches a lot of obscure places.
Created attachment 149459 [details] [review] Remove GdkFont
Created attachment 149473 [details] [review] Remove GdkFont #2 Updated patch, as Javier pointed out I had missed a few occurances. This time I carefully searched the whole tree for "GdkFont".
Created attachment 160885 [details] [review] Remove GdkFont #3 Updated Christian patch against current master. I've also removed the deprecated documentation, some code from the others backends and some symbols from gdk.symbols, so make check is working now.
I've divided the patch in smaller patches. Hope this makes more easy the review:
Created attachment 164560 [details] [review] [GtkFontSel] Remove GdkFont "font" deprecated property
Created attachment 164561 [details] [review] [GdkGC] Remove deprecated GdkFont from GdkGCValues structure
Created attachment 164562 [details] [review] Remove deprecated code from X interaction
Created attachment 164563 [details] [review] [GtkStyle] Remove deprecated GdkFont
Created attachment 164564 [details] [review] Remove deprecated GdkFont
Look reasonable, for what they do. A few things are left to clean up after this series, I think: - the XID_FONT_BIT hack in gdkxid.c - GDK_GC_FONT in GdkGCValuesMask
Created attachment 164571 [details] [review] Remove GDK_GC_FONT
Created attachment 164572 [details] [review] Remove XID_FONT_BIT
Comment on attachment 164560 [details] [review] [GtkFontSel] Remove GdkFont "font" deprecated property commit 418d84f3114548381ca86745d54fad2d7be8cc98
Comment on attachment 164561 [details] [review] [GdkGC] Remove deprecated GdkFont from GdkGCValues structure commit c3987f9ee2cf0ee2277c31e711755257f62c46db
Comment on attachment 164562 [details] [review] Remove deprecated code from X interaction commit c1affa4f3cbe51574a1895df9c4d9b77f50f81aa
Comment on attachment 164563 [details] [review] [GtkStyle] Remove deprecated GdkFont commit 34573b53f3926c2081bcce585f5e99680fb874a6
Comment on attachment 164564 [details] [review] Remove deprecated GdkFont commit 655dcff09622777765f32d84549a7779c78147a5
Comment on attachment 164571 [details] [review] Remove GDK_GC_FONT commit 06e48c50a1080696bc0bbbe5a15e3f3747617286
Comment on attachment 164572 [details] [review] Remove XID_FONT_BIT commit b4ed51fd93760af43f09735b4f26506d9b172709
GdkFont is completely removed now. Closing.