summaryrefslogtreecommitdiff
path: root/gtk/gtkenums.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-10-13 05:52:14 +0000
committerTim Janik <timj@src.gnome.org>2001-10-13 05:52:14 +0000
commitcf9f0b774198a0584ae067a308796ad308379edc (patch)
treef39ebf03956a2309b02a3165f07aae6af99995c7 /gtk/gtkenums.h
parent0511377235e775920eb0c3b0e743ad1c6eed8ebb (diff)
downloadgtk+-cf9f0b774198a0584ae067a308796ad308379edc.tar.gz
to compare pattern specs, use g_pattern_spec_equal() instead of direct
Sat Oct 13 07:09:30 2001 Tim Janik <timj@gtk.org> * gtk/gtkbindings.c (gtk_binding_set_add_path): to compare pattern specs, use g_pattern_spec_equal() instead of direct field accesses. upon compressing two equal paths of the same type, the resulting priority has to be the maximum. * gtk/gtkenums.h (enum): take GTK_PATH_PRIO_MASK out of the GtkPathPriorityType enum and make it a macro.
Diffstat (limited to 'gtk/gtkenums.h')
-rw-r--r--gtk/gtkenums.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index b62414ccd2..aac459b4d3 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -232,9 +232,9 @@ typedef enum
GTK_PATH_PRIO_APPLICATION = 8,
GTK_PATH_PRIO_THEME = 10,
GTK_PATH_PRIO_RC = 12,
- GTK_PATH_PRIO_HIGHEST = 15,
- GTK_PATH_PRIO_MASK = 0x0f
+ GTK_PATH_PRIO_HIGHEST = 15
} GtkPathPriorityType;
+#define GTK_PATH_PRIO_MASK 0x0f
/* widget path types */
typedef enum