aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/altair/mm-modem-helpers-altair-lte.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/altair/mm-modem-helpers-altair-lte.c b/plugins/altair/mm-modem-helpers-altair-lte.c
index 09c6f18f..7df77ce2 100644
--- a/plugins/altair/mm-modem-helpers-altair-lte.c
+++ b/plugins/altair/mm-modem-helpers-altair-lte.c
@@ -71,8 +71,8 @@ gchar *
mm_altair_parse_ceer_response (const gchar *response,
GError **error)
{
- mm_autoptr(GRegex) r = NULL;
- mm_autoptr(GMatchInfo) match_info = NULL;
+ g_autoptr(GRegex) r = NULL;
+ g_autoptr(GMatchInfo) match_info = NULL;
gchar *ceer_response = NULL;
@@ -111,8 +111,8 @@ mm_altair_parse_ceer_response (const gchar *response,
guint
mm_altair_parse_cid (const gchar *response, GError **error)
{
- mm_autoptr(GRegex) regex = NULL;
- mm_autoptr(GMatchInfo) match_info = NULL;
+ g_autoptr(GRegex) regex = NULL;
+ g_autoptr(GMatchInfo) match_info = NULL;
guint cid = -1;
regex = g_regex_new ("\\%CGINFO:\\s*(\\d+)", G_REGEX_RAW, 0, NULL);
@@ -136,8 +136,8 @@ mm_altair_parse_cid (const gchar *response, GError **error)
MMPco *
mm_altair_parse_vendor_pco_info (const gchar *pco_info, GError **error)
{
- mm_autoptr(GRegex) regex = NULL;
- mm_autoptr(GMatchInfo) match_info = NULL;
+ g_autoptr(GRegex) regex = NULL;
+ g_autoptr(GMatchInfo) match_info = NULL;
MMPco *pco = NULL;
gint num_matches;