Change naming of GParmSpec enum id string for naming consistency

GParamSpec enum string usually follows "PROP_" prefix and PROP_LAST is used
for last PROP string.

https://gitlab.gnome.org/GNOME/mutter/issues/28

Closes: #28
This commit is contained in:
Gwan-gyeong Mun
2018-02-10 13:36:48 +01:00
parent 748223b896
commit abd6b7affd
3 changed files with 9 additions and 9 deletions

View File

@ -64,10 +64,10 @@ enum {
PROP_N_WINDOWS,
PROP_WORKSPACE_INDEX,
LAST_PROP,
PROP_LAST,
};
static GParamSpec *obj_props[LAST_PROP];
static GParamSpec *obj_props[PROP_LAST];
enum
{
@ -214,7 +214,7 @@ meta_workspace_class_init (MetaWorkspaceClass *klass)
0, G_MAXUINT, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
g_object_class_install_properties (object_class, LAST_PROP, obj_props);
g_object_class_install_properties (object_class, PROP_LAST, obj_props);
}
static void