diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2012-01-27 18:04:40 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2012-01-27 22:15:59 +0000 |
commit | 6e3d12a641453d1a00b5271b3094edb7a6845a6c (patch) | |
tree | 526cd280d539691b3a8f2afe173545b503a871a8 /lib | |
parent | 3c0a4208c89e0f2fc2acbf2da8a4563386da7870 (diff) |
Remove lm_message_new[_with_subtype]
Diffstat (limited to 'lib')
-rw-r--r-- | lib/loudmouth/lm-message.c | 19 | ||||
-rw-r--r-- | lib/loudmouth/lm-message.h | 7 |
2 files changed, 0 insertions, 26 deletions
diff --git a/lib/loudmouth/lm-message.c b/lib/loudmouth/lm-message.c index 8f29e61c6..11c007dea 100644 --- a/lib/loudmouth/lm-message.c +++ b/lib/loudmouth/lm-message.c @@ -17,22 +17,3 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ - -#include "lm-message.h" - -LmMessage * -lm_message_new (const gchar *to, - LmMessageType type) -{ - return wocky_stanza_build (type, WOCKY_STANZA_SUB_TYPE_NONE, - NULL, to, NULL); -} - -LmMessage * -lm_message_new_with_sub_type (const gchar *to, - LmMessageType type, - LmMessageSubType sub_type) -{ - return wocky_stanza_build (type, sub_type, - NULL, to, NULL); -} diff --git a/lib/loudmouth/lm-message.h b/lib/loudmouth/lm-message.h index 6e230d6f0..8564e6d9f 100644 --- a/lib/loudmouth/lm-message.h +++ b/lib/loudmouth/lm-message.h @@ -65,13 +65,6 @@ typedef WockyStanzaSubType LmMessageSubType; #define LM_MESSAGE_SUB_TYPE_RESULT WOCKY_STANZA_SUB_TYPE_RESULT #define LM_MESSAGE_SUB_TYPE_ERROR WOCKY_STANZA_SUB_TYPE_ERROR -LmMessage * lm_message_new (const gchar *to, - LmMessageType type); - -LmMessage * lm_message_new_with_sub_type (const gchar *to, - LmMessageType type, - LmMessageSubType sub_type); - G_END_DECLS #endif /* #ifndef __LM_MESSAGE_H__ */ |