1
0
Fork 0

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> 2007-06-16 Damien Carbery <damien.carbery@sun.com>
* window.h: make prototype of meta_window_unqueue match * window.h: make prototype of meta_window_unqueue match

View file

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