Commit b996cd03 authored by Damien Carbery's avatar Damien Carbery Committed by Thomas James Alexander Thurman
Browse files

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
parent 36287b94
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
......
...@@ -69,6 +69,8 @@ typedef struct ...@@ -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 ...@@ -77,6 +79,7 @@ typedef struct
typedef struct typedef struct
{ {
} MetaFocusEffect; } MetaFocusEffect;
#endif
struct MetaEffect struct MetaEffect
{ {
...@@ -88,8 +91,11 @@ 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment