summaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp-ussd.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-06 21:58:22 +0200
committerDan Williams <dcbw@redhat.com>2018-08-21 16:50:15 +0000
commitfc41c167ce018ed1ec20c0969b6bd4536113d395 (patch)
tree7c471c0fa61bd270c58ba56eb3312f99133b33bd /src/mm-iface-modem-3gpp-ussd.h
parent4ef3623e6396d5e592410b0ce136a9acf559542d (diff)
iface-modem-3gpp,ussd: let send_finish() return a newly allocated string
GTask integration will benefit from this change.
Diffstat (limited to 'src/mm-iface-modem-3gpp-ussd.h')
-rw-r--r--src/mm-iface-modem-3gpp-ussd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mm-iface-modem-3gpp-ussd.h b/src/mm-iface-modem-3gpp-ussd.h
index 662d555e..846663b2 100644
--- a/src/mm-iface-modem-3gpp-ussd.h
+++ b/src/mm-iface-modem-3gpp-ussd.h
@@ -93,9 +93,9 @@ struct _MMIfaceModem3gppUssd {
const gchar *command,
GAsyncReadyCallback callback,
gpointer user_data);
- const gchar * (* send_finish) (MMIfaceModem3gppUssd *self,
- GAsyncResult *res,
- GError **error);
+ gchar * (* send_finish) (MMIfaceModem3gppUssd *self,
+ GAsyncResult *res,
+ GError **error);
/* Cancel */
void (* cancel) (MMIfaceModem3gppUssd *self,