summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2011-01-24 07:58:58 +0800
committerSam Spilsbury <smspillaz@gmail.com>2011-01-24 07:58:58 +0800
commit647f625e37df81150a1bd9946edca7f71dfdf373 (patch)
treec38008475fe6ef3836795d153044a642deb8e79e
parent8e515dd1dd7eaf8cbf4ee5e1ef182378757aba20 (diff)
downloadunity-window-decorator-647f625e37df81150a1bd9946edca7f71dfdf373.tar.gz
unity-window-decorator-647f625e37df81150a1bd9946edca7f71dfdf373.tar.bz2
Fix non boolean return if there is no frame style
-rw-r--r--src/metacity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metacity.c b/src/metacity.c
index 4be97c7..6ae2f52 100644
--- a/src/metacity.c
+++ b/src/metacity.c
@@ -990,7 +990,7 @@ meta_get_button_position (decor_t *d,
frame_style = meta_theme_get_frame_style (theme, META_FRAME_TYPE_NORMAL, flags);
if (!frame_style)
- return;
+ return FALSE;
invisible_grab_area_properties =
meta_frame_style_get_invisible_grab_area_properties (frame_style);