[PATCH] Ignore more deprecation warnings.
Brian C. Lane
bcl at redhat.com
Wed Jun 18 00:22:05 UTC 2014
On Tue, Jun 17, 2014 at 10:47:43AM -0400, David Shea wrote:
> Ignore the warnings about GtkAlignment being deprecated because getting
> rid of it would involve changes to all downstream interface files. Put
> off for a while telling everyone to change their code just because gtk
> changed their mind about something.
>
> Ignore the warnings about GtkMisc being deprecated because gtk is
> garbage. Not calling gtk_misc_set_alignment still results in the xalign
> and yalign properties defaulting to 0.5, so you can mess around with
> halign and valign properties on GtkWidget all day and your widget will
> still be centered.
>
> Get rid of the gtk_misc_set_padding call, because setting the margin
> properties really does work as a substitute. Great work, everyone.
>
> Switch the existing deprecation warning ignorations to use the glib
> macros provided for this because they look a lot nicer than #pragma
> junk.
> ---
> widgets/src/BaseWindow.c | 16 ++++++++++++++++
> widgets/src/DiskOverview.c | 5 ++---
> widgets/src/MountpointSelector.c | 7 +++++++
> widgets/src/SpokeSelector.c | 13 +++++++++----
> 4 files changed, 34 insertions(+), 7 deletions(-)
ACK
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
More information about the anaconda-patches
mailing list