summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPekka Pessi <Pekka.Pessi@nokia.com>2011-02-01 17:46:37 +0200
committerPekka Pessi <Pekka.Pessi@nokia.com>2011-02-01 21:05:46 +0200
commita32e4e8a1e68e4f9b65c3ad9d66b1d1059d32356 (patch)
tree7a1b00018dc09993a157caba2aebe3dc9132b083 /src
parent19de82ca471768b61ada1fe7eec55209b18edb60 (diff)
ring-text-manager: do not expose StoredMessages methods
Diffstat (limited to 'src')
-rw-r--r--src/ring-connection.c4
-rw-r--r--src/ring-text-manager.c2
-rw-r--r--src/ring-text-manager.h3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/ring-connection.c b/src/ring-connection.c
index 886dd9c..c8b2deb 100644
--- a/src/ring-connection.c
+++ b/src/ring-connection.c
@@ -1452,12 +1452,10 @@ ring_connection_expunge_messages(
char const **messages,
DBusGMethodInvocation *context)
{
-#if nomore
ring_text_manager_expunge_messages(
RING_CONNECTION(iface)->priv->text,
messages,
context);
-#endif
}
static void
@@ -1466,12 +1464,10 @@ ring_connection_set_storage_state(
gboolean out_of_storage,
DBusGMethodInvocation *context)
{
-#if nomore
ring_text_manager_set_storage_state(
RING_CONNECTION(iface)->priv->text,
out_of_storage,
context);
-#endif
}
static void
diff --git a/src/ring-text-manager.c b/src/ring-text-manager.c
index 41c7172..0a41f81 100644
--- a/src/ring-text-manager.c
+++ b/src/ring-text-manager.c
@@ -896,7 +896,6 @@ ring_text_manager_not_connected(gpointer context)
{ TP_ERRORS, TP_ERROR_NOT_AVAILABLE, "SMS service is not available" };
dbus_g_method_return_error(context, &error);
}
-#endif
void
ring_text_manager_deliver_stored_messages(RingTextManager *self,
@@ -936,7 +935,6 @@ ring_text_manager_deliver_stored_messages(RingTextManager *self,
#endif
}
-#if nomore
void
ring_text_manager_expunge_messages(RingTextManager *self,
char const **messages,
diff --git a/src/ring-text-manager.h b/src/ring-text-manager.h
index 03b9bdc..5e4ab8d 100644
--- a/src/ring-text-manager.h
+++ b/src/ring-text-manager.h
@@ -60,6 +60,7 @@ GType ring_text_manager_get_type(void);
gpointer ring_text_manager_lookup(RingTextManager *self,
char const *object_path);
+#if nomore
void ring_text_manager_deliver_stored_messages(RingTextManager *,
char const **messages,
gpointer context);
@@ -74,6 +75,8 @@ void ring_text_manager_set_storage_status(RingTextManager *,
char **ring_text_manager_list_stored_messages(RingTextManager const *);
+#endif
+
void ring_text_manager_add_capabilities(RingTextManager *self,
guint handle, GPtrArray *returns);