MetaCloseEffect and MetaFocusEffect, which were empty structs, #ifdeffed

2007-06-16  Damien Carbery  <damien.carbery@sun.com>

        * effects.h: MetaCloseEffect and MetaFocusEffect, which were empty
        structs, #ifdeffed out because they broke the build on Solaris.
        Closes #397296.



svn path=/trunk/; revision=3244
This commit is contained in:
Damien Carbery 2007-06-17 02:55:07 +00:00 committed by Thomas James Alexander Thurman
parent 36287b9417
commit b996cd03be
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-06-16 Damien Carbery <damien.carbery@sun.com>
* effects.h: MetaCloseEffect and MetaFocusEffect, which were empty
structs, #ifdeffed out because they broke the build on Solaris.
Closes #397296.
2007-06-16 Damien Carbery <damien.carbery@sun.com>
* window.h: make prototype of meta_window_unqueue match

View File

@ -69,6 +69,8 @@ typedef struct
MetaRectangle icon_rect;
} MetaMinimizeEffect, MetaUnminimizeEffect;
#if 0
/* Solaris abhors an empty struct. #397296. */
typedef struct
{
@ -77,6 +79,7 @@ typedef struct
typedef struct
{
} MetaFocusEffect;
#endif
struct MetaEffect
{
@ -88,8 +91,11 @@ struct MetaEffect
{
MetaMinimizeEffect minimize;
MetaUnminimizeEffect unminimize;
#if 0
/* These don't currently exist, so we aren't using them. #397296. */
MetaCloseEffect close;
MetaFocusEffect focus;
#endif
} u;
MetaEffectPriv *priv;