summaryrefslogtreecommitdiff
path: root/lib/gibber/gibber-xmpp-error.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gibber/gibber-xmpp-error.h')
-rw-r--r--lib/gibber/gibber-xmpp-error.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/gibber/gibber-xmpp-error.h b/lib/gibber/gibber-xmpp-error.h
index 7552ab77..8e7a540a 100644
--- a/lib/gibber/gibber-xmpp-error.h
+++ b/lib/gibber/gibber-xmpp-error.h
@@ -23,7 +23,6 @@
#include <glib.h>
#include <wocky/wocky-stanza.h>
-#include "gibber-xmpp-node.h"
typedef enum {
XMPP_ERROR_UNDEFINED_CONDITION = 0, /* 500 */
@@ -77,9 +76,9 @@ typedef enum {
GQuark gibber_xmpp_error_quark (void);
#define GIBBER_XMPP_ERROR (gibber_xmpp_error_quark ())
-GibberXmppError gibber_xmpp_error_from_node (GibberXmppNode *error_node);
-GibberXmppNode *gibber_xmpp_error_to_node (GibberXmppError error,
- GibberXmppNode *parent_node, const gchar *errmsg);
+GibberXmppError gibber_xmpp_error_from_node (WockyNode *error_node);
+WockyNode *gibber_xmpp_error_to_node (GibberXmppError error,
+ WockyNode *parent_node, const gchar *errmsg);
const gchar *gibber_xmpp_error_string (GibberXmppError error);
const gchar *gibber_xmpp_error_description (GibberXmppError error);
GError *gibber_message_get_xmpp_error (WockyStanza *msg);