gnome-shell-3.6.3.1/src/shell-enum-types.c

No issues found

 1 /* Generated data (by glib-mkenums) */
 2 
 3 #include "shell-enum-types.h"
 4 /* enumerations from "./shell-app.h" */
 5 #include "./shell-app.h"
 6 GType
 7 shell_app_state_get_type(void) {
 8   static GType enum_type_id = 0;
 9   if (G_UNLIKELY (!enum_type_id))
10     {
11       static const GEnumValue values[] = {
12         { SHELL_APP_STATE_STOPPED, "SHELL_APP_STATE_STOPPED", "stopped" },
13         { SHELL_APP_STATE_STARTING, "SHELL_APP_STATE_STARTING", "starting" },
14         { SHELL_APP_STATE_RUNNING, "SHELL_APP_STATE_RUNNING", "running" },
15         { 0, NULL, NULL }
16       };
17       enum_type_id = g_enum_register_static("ShellAppState", values);
18     }
19   return enum_type_id;
20 }
21 /* enumerations from "./shell-global.h" */
22 #include "./shell-global.h"
23 GType
24 shell_stage_input_mode_get_type(void) {
25   static GType enum_type_id = 0;
26   if (G_UNLIKELY (!enum_type_id))
27     {
28       static const GEnumValue values[] = {
29         { SHELL_STAGE_INPUT_MODE_NONREACTIVE, "SHELL_STAGE_INPUT_MODE_NONREACTIVE", "nonreactive" },
30         { SHELL_STAGE_INPUT_MODE_NORMAL, "SHELL_STAGE_INPUT_MODE_NORMAL", "normal" },
31         { SHELL_STAGE_INPUT_MODE_FOCUSED, "SHELL_STAGE_INPUT_MODE_FOCUSED", "focused" },
32         { SHELL_STAGE_INPUT_MODE_FULLSCREEN, "SHELL_STAGE_INPUT_MODE_FULLSCREEN", "fullscreen" },
33         { 0, NULL, NULL }
34       };
35       enum_type_id = g_enum_register_static("ShellStageInputMode", values);
36     }
37   return enum_type_id;
38 }
39 GType
40 shell_cursor_get_type(void) {
41   static GType enum_type_id = 0;
42   if (G_UNLIKELY (!enum_type_id))
43     {
44       static const GEnumValue values[] = {
45         { SHELL_CURSOR_DND_IN_DRAG, "SHELL_CURSOR_DND_IN_DRAG", "dnd-in-drag" },
46         { SHELL_CURSOR_DND_UNSUPPORTED_TARGET, "SHELL_CURSOR_DND_UNSUPPORTED_TARGET", "dnd-unsupported-target" },
47         { SHELL_CURSOR_DND_MOVE, "SHELL_CURSOR_DND_MOVE", "dnd-move" },
48         { SHELL_CURSOR_DND_COPY, "SHELL_CURSOR_DND_COPY", "dnd-copy" },
49         { SHELL_CURSOR_POINTING_HAND, "SHELL_CURSOR_POINTING_HAND", "pointing-hand" },
50         { 0, NULL, NULL }
51       };
52       enum_type_id = g_enum_register_static("ShellCursor", values);
53     }
54   return enum_type_id;
55 }
56 /* enumerations from "./shell-mobile-providers.h" */
57 #include "./shell-mobile-providers.h"
58 GType
59 shell_mobile_access_method_type_get_type(void) {
60   static GType enum_type_id = 0;
61   if (G_UNLIKELY (!enum_type_id))
62     {
63       static const GEnumValue values[] = {
64         { SHELL_MOBILE_ACCESS_METHOD_TYPE_UNKNOWN, "SHELL_MOBILE_ACCESS_METHOD_TYPE_UNKNOWN", "unknown" },
65         { SHELL_MOBILE_ACCESS_METHOD_TYPE_GSM, "SHELL_MOBILE_ACCESS_METHOD_TYPE_GSM", "gsm" },
66         { SHELL_MOBILE_ACCESS_METHOD_TYPE_CDMA, "SHELL_MOBILE_ACCESS_METHOD_TYPE_CDMA", "cdma" },
67         { 0, NULL, NULL }
68       };
69       enum_type_id = g_enum_register_static("ShellMobileAccessMethodType", values);
70     }
71   return enum_type_id;
72 }
73 /* enumerations from "./shell-network-agent.h" */
74 #include "./shell-network-agent.h"
75 GType
76 shell_network_agent_response_get_type(void) {
77   static GType enum_type_id = 0;
78   if (G_UNLIKELY (!enum_type_id))
79     {
80       static const GEnumValue values[] = {
81         { SHELL_NETWORK_AGENT_CONFIRMED, "SHELL_NETWORK_AGENT_CONFIRMED", "confirmed" },
82         { SHELL_NETWORK_AGENT_USER_CANCELED, "SHELL_NETWORK_AGENT_USER_CANCELED", "user-canceled" },
83         { SHELL_NETWORK_AGENT_INTERNAL_ERROR, "SHELL_NETWORK_AGENT_INTERNAL_ERROR", "internal-error" },
84         { 0, NULL, NULL }
85       };
86       enum_type_id = g_enum_register_static("ShellNetworkAgentResponse", values);
87     }
88   return enum_type_id;
89 }
90 
91 /* Generated data ends here */