summaryrefslogtreecommitdiff
path: root/gtk/gtkcssiconthemevalueprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-01-27 00:25:05 +0100
committerBenjamin Otte <otte@redhat.com>2015-01-27 05:04:34 +0100
commit11d70f1ac30dd491d9d8dac9b9e2c31cee073cc9 (patch)
tree1f76fae360676a9e5545d6d315818660e99578a1 /gtk/gtkcssiconthemevalueprivate.h
parent9cbf04c1d2db22001995b9851587b475ffcefe44 (diff)
downloadgtk+-11d70f1ac30dd491d9d8dac9b9e2c31cee073cc9.tar.gz
css: Add a -gtk-icon-theme CSS property
The property is useless to set (it only allows 'initial', 'inherit' and 'unset' as values), but it is used to track changes to the icon theme. And as such, it can ensure that widgets can track when they need to reload icons. https://bugzilla.gnome.org/show_bug.cgi?id=743341
Diffstat (limited to 'gtk/gtkcssiconthemevalueprivate.h')
-rw-r--r--gtk/gtkcssiconthemevalueprivate.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/gtk/gtkcssiconthemevalueprivate.h b/gtk/gtkcssiconthemevalueprivate.h
new file mode 100644
index 0000000000..6acfdc6f3f
--- /dev/null
+++ b/gtk/gtkcssiconthemevalueprivate.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright © 2012 Red Hat 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.1 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors: Alexander Larsson <alexl@gnome.org>
+ */
+
+#ifndef __GTK_CSS_ICON_THEME_VALUE_PRIVATE_H__
+#define __GTK_CSS_ICON_THEME_VALUE_PRIVATE_H__
+
+#include "gtkcssparserprivate.h"
+#include "gtkcssvalueprivate.h"
+
+G_BEGIN_DECLS
+
+GtkCssValue * _gtk_css_icon_theme_value_new (void);
+
+G_END_DECLS
+
+#endif /* __GTK_CSS_ICON_THEME_VALUE_PRIVATE_H__ */