diff options
-rw-r--r-- | docs/reference/libqmi-glib/libqmi-glib-common.sections | 1 | ||||
-rw-r--r-- | src/libqmi-glib/qmi-client.c | 4 | ||||
-rw-r--r-- | src/libqmi-glib/qmi-client.h | 8 | ||||
-rw-r--r-- | src/libqmi-glib/qmi-device.c | 2 |
4 files changed, 10 insertions, 5 deletions
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections index 891d9be..0e0f519 100644 --- a/docs/reference/libqmi-glib/libqmi-glib-common.sections +++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections @@ -26,6 +26,7 @@ qmi_client_get_cid qmi_client_get_version qmi_client_check_version qmi_client_get_next_transaction_id +<SUBSECTION Private> qmi_client_process_indication <SUBSECTION Standard> QmiClientClass diff --git a/src/libqmi-glib/qmi-client.c b/src/libqmi-glib/qmi-client.c index 4d5bf8b..8345dde 100644 --- a/src/libqmi-glib/qmi-client.c +++ b/src/libqmi-glib/qmi-client.c @@ -229,8 +229,8 @@ qmi_client_get_next_transaction_id (QmiClient *self) /*****************************************************************************/ void -qmi_client_process_indication (QmiClient *self, - QmiMessage *message) +__qmi_client_process_indication (QmiClient *self, + QmiMessage *message) { if (QMI_CLIENT_GET_CLASS (self)->process_indication) QMI_CLIENT_GET_CLASS (self)->process_indication (self, message); diff --git a/src/libqmi-glib/qmi-client.h b/src/libqmi-glib/qmi-client.h index c0f3ac5..3d4990f 100644 --- a/src/libqmi-glib/qmi-client.h +++ b/src/libqmi-glib/qmi-client.h @@ -91,8 +91,12 @@ gboolean qmi_client_check_version (QmiClient *self, guint16 qmi_client_get_next_transaction_id (QmiClient *self); /* not part of the public API */ -void qmi_client_process_indication (QmiClient *self, - QmiMessage *message); + +#if defined (LIBQMI_GLIB_COMPILATION) +G_GNUC_INTERNAL +void __qmi_client_process_indication (QmiClient *self, + QmiMessage *message); +#endif G_END_DECLS diff --git a/src/libqmi-glib/qmi-device.c b/src/libqmi-glib/qmi-device.c index 5827fe6..9fab5e1 100644 --- a/src/libqmi-glib/qmi-device.c +++ b/src/libqmi-glib/qmi-device.c @@ -1568,7 +1568,7 @@ process_indication_idle (IdleIndicationContext *ctx) g_assert (ctx->client != NULL); g_assert (ctx->message != NULL); - qmi_client_process_indication (ctx->client, ctx->message); + __qmi_client_process_indication (ctx->client, ctx->message); g_object_unref (ctx->client); qmi_message_unref (ctx->message); |