summaryrefslogtreecommitdiff
path: root/gtk/window-decorator
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-08-21 07:40:41 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-08-21 07:40:41 +0800
commit4befd8b5bb104663db64eb54397b63df34de73eb (patch)
treef58c1a1746b66a2e031e1f4a91e49f11a62ba882 /gtk/window-decorator
parentadc0285337c6f348e040cdf379e66a205249bc66 (diff)
downloadcompiz-with-glib-mainloop-4befd8b5bb104663db64eb54397b63df34de73eb.tar.gz
compiz-with-glib-mainloop-4befd8b5bb104663db64eb54397b63df34de73eb.tar.bz2
Don't declare metacity funcs if we aren't using it
Diffstat (limited to 'gtk/window-decorator')
-rw-r--r--gtk/window-decorator/gtk-window-decorator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/window-decorator/gtk-window-decorator.h b/gtk/window-decorator/gtk-window-decorator.h
index f343406..aa602c9 100644
--- a/gtk/window-decorator/gtk-window-decorator.h
+++ b/gtk/window-decorator/gtk-window-decorator.h
@@ -644,7 +644,7 @@ GdkPixmap *
pixmap_new_from_pixbuf (GdkPixbuf *pixbuf, int depth);
/* metacity.c */
-
+#ifdef USE_METACITY
void
meta_draw_window_decoration (decor_t *d);
@@ -696,7 +696,7 @@ meta_update_border_extents (gint text_height);
void
meta_update_button_layout (const char *value);
-
+#endif
/* switcher.c */
#define SWITCHER_ALPHA 0xa0a0
@@ -934,4 +934,4 @@ style_changed (GtkWidget *widget);
gboolean
init_settings (WnckScreen *screen);
-#endif \ No newline at end of file
+#endif