diff options
author | Chris Talbot <chris@talbothome.com> | 2023-06-12 10:12:33 -0400 |
---|---|---|
committer | Chris Talbot <chris@talbothome.com> | 2023-07-28 06:14:01 -0400 |
commit | b953fd1c7500865e6810f8b6e0d4aba9a370f4aa (patch) | |
tree | 026800520e5ce1ec3537c7c5256cf84cfd1b36c3 | |
parent | 075657ab1afb0bbb105aa97ec417a766d5e5e017 (diff) |
modem-gps: make priority source true
-rw-r--r-- | src/gclue-modem-gps.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gclue-modem-gps.c b/src/gclue-modem-gps.c index 888a76d..5b348d2 100644 --- a/src/gclue-modem-gps.c +++ b/src/gclue-modem-gps.c @@ -198,7 +198,9 @@ gclue_modem_gps_get_singleton (void) static GClueModemGPS *source = NULL; if (source == NULL) { - source = g_object_new (GCLUE_TYPE_MODEM_GPS, NULL); + source = g_object_new (GCLUE_TYPE_MODEM_GPS, + "priority-source", TRUE, + NULL); g_object_weak_ref (G_OBJECT (source), on_modem_gps_destroyed, &source); |