[mutter] Use a META_ prefix for enum types, not MUTTER_
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Use a META_ prefix for enum types, not MUTTER_
- Date: Thu, 23 Feb 2012 21:40:16 +0000 (UTC)
commit 01c363bb6afa4f6401bbfba9afc8e3444aca842e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 23 14:39:58 2012 -0500
Use a META_ prefix for enum types, not MUTTER_
src/core/screen.c | 2 +-
src/core/window.c | 2 +-
src/mutter-enum-types.h.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/core/screen.c b/src/core/screen.c
index 72cc2c1..4010c7a 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -200,7 +200,7 @@ meta_screen_class_init (MetaScreenClass *klass)
3,
G_TYPE_INT,
G_TYPE_INT,
- MUTTER_TYPE_MOTION_DIRECTION);
+ META_TYPE_MOTION_DIRECTION);
screen_signals[WINDOW_ENTERED_MONITOR] =
g_signal_new ("window-entered-monitor",
diff --git a/src/core/window.c b/src/core/window.c
index bc56f2e..aa73533 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -411,7 +411,7 @@ meta_window_class_init (MetaWindowClass *klass)
g_param_spec_enum ("window-type",
"Window Type",
"The type of the window",
- MUTTER_TYPE_WINDOW_TYPE,
+ META_TYPE_WINDOW_TYPE,
META_WINDOW_NORMAL,
G_PARAM_READABLE));
diff --git a/src/mutter-enum-types.h.in b/src/mutter-enum-types.h.in
index ad45cf8..5be9066 100644
--- a/src/mutter-enum-types.h.in
+++ b/src/mutter-enum-types.h.in
@@ -20,7 +20,7 @@ G_END_DECLS
/*** BEGIN value-header ***/
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 ***/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]