evolution-3.6.4/e-util/e-util-enumtypes.c

No issues found

 1 /* Generated data (by glib-mkenums) */
 2 
 3 #include "e-util-enumtypes.h"
 4 
 5 /* enumerations from "e-util-enums.h" */
 6 #include "e-util-enums.h"
 7 
 8 GType
 9 e_activity_state_get_type (void)
10 {
11 	static GType the_type = 0;
12 	
13 	if (the_type == 0) {
14 		static const GEnumValue values[] = {
15 			{ E_ACTIVITY_RUNNING,
16 			  "E_ACTIVITY_RUNNING",
17 			  "running" },
18 			{ E_ACTIVITY_WAITING,
19 			  "E_ACTIVITY_WAITING",
20 			  "waiting" },
21 			{ E_ACTIVITY_CANCELLED,
22 			  "E_ACTIVITY_CANCELLED",
23 			  "cancelled" },
24 			{ E_ACTIVITY_COMPLETED,
25 			  "E_ACTIVITY_COMPLETED",
26 			  "completed" },
27 			{ 0, NULL, NULL }
28 		};
29 		the_type = g_enum_register_static (
30 			g_intern_static_string ("EActivityState"),
31 			values);
32 	}
33 	return the_type;
34 }
35 
36 GType
37 e_duration_type_get_type (void)
38 {
39 	static GType the_type = 0;
40 	
41 	if (the_type == 0) {
42 		static const GEnumValue values[] = {
43 			{ E_DURATION_MINUTES,
44 			  "E_DURATION_MINUTES",
45 			  "minutes" },
46 			{ E_DURATION_HOURS,
47 			  "E_DURATION_HOURS",
48 			  "hours" },
49 			{ E_DURATION_DAYS,
50 			  "E_DURATION_DAYS",
51 			  "days" },
52 			{ 0, NULL, NULL }
53 		};
54 		the_type = g_enum_register_static (
55 			g_intern_static_string ("EDurationType"),
56 			values);
57 	}
58 	return the_type;
59 }
60 
61 
62 /* Generated data ends here */