[gtk+/gtk-style-context: 62/206] GtkStyleProvider: Add defines for most common priorities.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 62/206] GtkStyleProvider: Add defines for most common priorities.
- Date: Mon, 23 Aug 2010 17:20:07 +0000 (UTC)
commit c6ed4bc71fee2dfe582deccd60d0cd89f4bf7ccb
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Apr 11 23:30:07 2010 +0200
GtkStyleProvider: Add defines for most common priorities.
gtk/gtkstyleprovider.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h
index 6e12bb3..35a7e24 100644
--- a/gtk/gtkstyleprovider.h
+++ b/gtk/gtkstyleprovider.h
@@ -32,6 +32,11 @@ G_BEGIN_DECLS
#define GTK_IS_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_PROVIDER))
#define GTK_STYLE_PROVIDER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GTK_TYPE_STYLE_PROVIDER, GtkStyleProviderIface))
+#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1
+#define GTK_STYLE_PROVIDER_PRIORITY_DEFAULT 200
+#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 400
+#define GTK_STYLE_PROVIDER_PRIORITY_USER 600
+
typedef struct GtkStyleProviderIface GtkStyleProviderIface;
typedef struct GtkStyleProvider GtkStyleProvider; /* dummy typedef */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]