[gnome-builder] flatpak: use N_PROPS instead of LAST_PROP
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: use N_PROPS instead of LAST_PROP
- Date: Wed, 14 Dec 2016 01:20:58 +0000 (UTC)
commit 8ef48db2c644d48ba69d4259c4de1153824d15d3
Author: Christian Hergert <chergert redhat com>
Date: Tue Dec 13 17:19:12 2016 -0800
flatpak: use N_PROPS instead of LAST_PROP
plugins/flatpak/gbp-flatpak-runtime.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-runtime.c b/plugins/flatpak/gbp-flatpak-runtime.c
index f998d94..63a9149 100644
--- a/plugins/flatpak/gbp-flatpak-runtime.c
+++ b/plugins/flatpak/gbp-flatpak-runtime.c
@@ -47,7 +47,7 @@ enum {
PROP_PRIMARY_MODULE,
PROP_APP_ID,
PROP_MANIFEST,
- LAST_PROP
+ N_PROPS
};
static GParamSpec *properties [LAST_PROP];
@@ -1065,7 +1065,7 @@ gbp_flatpak_runtime_class_init (GbpFlatpakRuntimeClass *klass)
G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS));
- g_object_class_install_properties (object_class, LAST_PROP, properties);
+ g_object_class_install_properties (object_class, N_PROPS, properties);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]