From 9bbcd9d6a5d0b01e16bdd4f94f707f0341f73e24 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 30 Apr 2013 12:07:16 -0500 Subject: [PATCH] sms: add support for message class We need to redefine the message class property to int since class 0 is a valid message class. Thus -1 now means "unspecified class". --- .../org.freedesktop.ModemManager1.Sms.xml | 7 ++-- libmm-glib/mm-sms-properties.c | 33 ++++++++++--------- libmm-glib/mm-sms-properties.h | 4 +-- libmm-glib/mm-sms.c | 6 ++-- libmm-glib/mm-sms.h | 2 +- src/mm-broadband-modem.c | 2 +- src/mm-sms-part.c | 20 ++++++----- src/mm-sms-part.h | 4 +-- src/tests/test-sms-part.c | 16 ++++----- 9 files changed, 49 insertions(+), 45 deletions(-) diff --git a/introspection/org.freedesktop.ModemManager1.Sms.xml b/introspection/org.freedesktop.ModemManager1.Sms.xml index 16e29d2f..586c2fd6 100644 --- a/introspection/org.freedesktop.ModemManager1.Sms.xml +++ b/introspection/org.freedesktop.ModemManager1.Sms.xml @@ -122,11 +122,12 @@ - +