summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/blurprops.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/window-decorator/blurprops.c')
-rw-r--r--gtk/window-decorator/blurprops.c27
1 files changed, 24 insertions, 3 deletions
diff --git a/gtk/window-decorator/blurprops.c b/gtk/window-decorator/blurprops.c
index d30979b..84972ed 100644
--- a/gtk/window-decorator/blurprops.c
+++ b/gtk/window-decorator/blurprops.c
@@ -1,3 +1,24 @@
+/*
+ * Copyright © 2006 Novell, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: David Reveman <davidr@novell.com>
+ */
+
#include "gtk-window-decorator.h"
void
@@ -17,13 +38,13 @@ decor_update_blur_property (decor_t *d,
long *data = NULL;
int size = 0;
- if (blur_type != BLUR_TYPE_ALL)
+ if (settings->blur_type != BLUR_TYPE_ALL)
{
bottom_region = NULL;
left_region = NULL;
right_region = NULL;
- if (blur_type != BLUR_TYPE_TITLEBAR)
+ if (settings->blur_type != BLUR_TYPE_TITLEBAR)
top_region = NULL;
}
@@ -65,4 +86,4 @@ decor_update_blur_property (decor_t *d,
gdk_display_sync (gdk_display_get_default ());
gdk_error_trap_pop ();
}
-} \ No newline at end of file
+}