summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDamien Carbery <damien.carbery@sun.com>2007-06-17 02:55:07 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2007-06-17 02:55:07 +0000
commitb996cd03beb3c96c467059e97120f8a2ba81a3ef (patch)
treec2b0f7329fe77d3df0887929265f3d396fe068c0 /src
parent36287b94170c9a8df0723be25b218f73db95e588 (diff)
downloadmetacity-b996cd03beb3c96c467059e97120f8a2ba81a3ef.tar.gz
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
Diffstat (limited to 'src')
-rw-r--r--src/effects.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/effects.h b/src/effects.h
index 6fc8bf94..5ae7bcb5 100644
--- a/src/effects.h
+++ b/src/effects.h
@@ -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;