[metacity/cowbell: 6/11] some comments
- From: Thomas James Alexander Thurman <tthurman src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [metacity/cowbell: 6/11] some comments
- Date: Mon, 21 Sep 2009 02:52:24 +0000 (UTC)
commit d26302282123430bb4414b719155caa2b213c532
Author: Thomas Thurman <tthurman gnome org>
Date: Sun Sep 20 17:50:59 2009 -0400
some comments
src/ui/theme.h | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/src/ui/theme.h b/src/ui/theme.h
index 86fb810..7cfbf13 100644
--- a/src/ui/theme.h
+++ b/src/ui/theme.h
@@ -151,7 +151,21 @@ typedef struct {
} MetaFrameStyle;
+/**
+ * Returns the current theme.
+ *
+ * \return the current theme.
+ */
MetaTheme* meta_theme_get_current (void);
+
+/**
+ * Sets the current theme.
+ *
+ * \param name The name of the theme.
+ * \param force_reload If false, and the named theme is the current
+ * theme, nothing will happen. If true, the
+ * named theme will always be loaded.
+ */
void meta_theme_set_current (const char *name,
gboolean force_reload);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]