qulogic/libgnt

Don't hide GntWidgetFlags entirely without deprecations.
release-2.x.y
2019-04-23, Elliott Sales de Andrade
22c7f059c67d
Don't hide GntWidgetFlags entirely without deprecations.

We still need the name at least for the struct member.
  • +2 -0
    gntwidget.h
  • --- a/gntwidget.h Sun Apr 21 05:05:09 2019 +0000
    +++ b/gntwidget.h Tue Apr 23 18:37:46 2019 -0400
    @@ -129,6 +129,8 @@
    GNT_WIDGET_TRANSIENT = 1 << 11,
    GNT_WIDGET_DISABLE_ACTIONS = 1 << 12,
    } GntWidgetFlags;
    +#else
    +typedef enum _GntWidgetFlags GntWidgetFlags;
    #endif
    /* XXX: This will probably move elsewhere */