[gnome-maps/gnome-3-30] lib: Fix MapsContactStore.state not introspectable
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/gnome-3-30] lib: Fix MapsContactStore.state not introspectable
- Date: Sun, 9 Dec 2018 08:57:39 +0000 (UTC)
commit eeab5b088bb2ca7bcb9fd889dd4845fd030f4aa4
Author: James Westman <flyingpimonster flyingpimonster net>
Date: Sat Dec 8 11:28:59 2018 -0600
lib: Fix MapsContactStore.state not introspectable
This was caused by a bug in the Meson file where a necessary header file
was not passed to `gnome.generate_gir`.
Fixes #140
lib/maps-contact-store.c | 2 +-
lib/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/maps-contact-store.c b/lib/maps-contact-store.c
index 1c9ea34..227fc5f 100644
--- a/lib/maps-contact-store.c
+++ b/lib/maps-contact-store.c
@@ -84,7 +84,7 @@ maps_contact_store_class_init (MapsContactStoreClass *klass)
/**
* MapsContactStore:state:
*
- * The type of the contact.
+ * The current loading state of the contact store.
*/
pspec = g_param_spec_enum ("state",
"State",
diff --git a/lib/meson.build b/lib/meson.build
index c11fec2..6054364 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -56,7 +56,7 @@ libmaps = shared_library(
gnome.generate_gir(
libmaps,
- sources: sources + [maps_enums[0], headers_private],
+ sources: sources + [maps_enums, headers_private],
nsversion: maps_gir_version,
namespace: maps_gir_name,
identifier_prefix: maps_ns,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]