[gnome-maps] lib: Fix MapsContactStore.state not introspectable



commit 77b7a025b731fe4d3301f78de5a54f5335f3f68c
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]