Use a META_ prefix for enum types, not MUTTER_
This commit is contained in:
parent
7649772394
commit
01c363bb6a
@ -200,7 +200,7 @@ meta_screen_class_init (MetaScreenClass *klass)
|
|||||||
3,
|
3,
|
||||||
G_TYPE_INT,
|
G_TYPE_INT,
|
||||||
G_TYPE_INT,
|
G_TYPE_INT,
|
||||||
MUTTER_TYPE_MOTION_DIRECTION);
|
META_TYPE_MOTION_DIRECTION);
|
||||||
|
|
||||||
screen_signals[WINDOW_ENTERED_MONITOR] =
|
screen_signals[WINDOW_ENTERED_MONITOR] =
|
||||||
g_signal_new ("window-entered-monitor",
|
g_signal_new ("window-entered-monitor",
|
||||||
|
@ -411,7 +411,7 @@ meta_window_class_init (MetaWindowClass *klass)
|
|||||||
g_param_spec_enum ("window-type",
|
g_param_spec_enum ("window-type",
|
||||||
"Window Type",
|
"Window Type",
|
||||||
"The type of the window",
|
"The type of the window",
|
||||||
MUTTER_TYPE_WINDOW_TYPE,
|
META_TYPE_WINDOW_TYPE,
|
||||||
META_WINDOW_NORMAL,
|
META_WINDOW_NORMAL,
|
||||||
G_PARAM_READABLE));
|
G_PARAM_READABLE));
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ G_END_DECLS
|
|||||||
|
|
||||||
/*** BEGIN value-header ***/
|
/*** BEGIN value-header ***/
|
||||||
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
||||||
#define MUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
|
#define META_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
|
||||||
|
|
||||||
/*** END value-header ***/
|
/*** END value-header ***/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user