summaryrefslogtreecommitdiff
path: root/libmm-glib/tests
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-10-03 12:46:37 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-10-04 10:17:12 +0200
commitc250fa3797b40f70cbac1d9e417b1d3ad946ee89 (patch)
tree2bceffbeefddda40fc6a5c0f64e9e5b9eeb4a028 /libmm-glib/tests
parent8bdcdeecb68036bb6be39c5896342f1f1905b606 (diff)
downloadModemManager-c250fa3797b40f70cbac1d9e417b1d3ad946ee89.tar.gz
libmm-glib: remove the `libmm-common.h' header
Both the ModemManager daemon and the mmcli will now include `libmm-glib.h' only. We also handle two new special `_LIBMM_INSIDE_MM' and `LIBMM_INSIDE_MMCLI' symbols, which if included before the `libmm-glib.h' library allow us to: * Don't include the libmm-glib high level API in the ModemManager daemon, as the object names would clash with those in the core. * Define some of the methods of helper objects to be included only if compiling ModemManager daemon or the mmcli.
Diffstat (limited to 'libmm-glib/tests')
-rw-r--r--libmm-glib/tests/test-common-helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmm-glib/tests/test-common-helpers.c b/libmm-glib/tests/test-common-helpers.c
index a54fe2d8b..9b71e6b99 100644
--- a/libmm-glib/tests/test-common-helpers.c
+++ b/libmm-glib/tests/test-common-helpers.c
@@ -13,9 +13,9 @@
* Copyright (C) 2012 Google, Inc.
*/
-#include <glib.h>
+#include <glib-object.h>
-#include <libmm-common.h>
+#include <libmm-glib.h>
/********************* KEY VALUE PARSER TESTS *********************/