/soc/2015/jgeboski/facebook: 79374d83fae5: facebook: removed ali...
James Geboski
jgeboski at gmail.com
Tue Aug 18 14:46:07 EDT 2015
Changeset: 79374d83fae5fb2016b73356bcb9e1a79e48b74c
Author: James Geboski <jgeboski at gmail.com>
Date: 2015-08-18 14:45 -0400
Branch: facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/79374d83fae5
Description:
facebook: removed alignment whitespace
diffstat:
libpurple/protocols/facebook/api.h | 10 ++--
libpurple/protocols/facebook/data.h | 10 ++--
libpurple/protocols/facebook/facebook.h | 10 ++--
libpurple/protocols/facebook/json.h | 6 +-
libpurple/protocols/facebook/mqtt.h | 64 ++++++++++++++++----------------
libpurple/protocols/facebook/thrift.h | 32 ++++++++--------
libpurple/protocols/facebook/util.h | 4 +-
7 files changed, 68 insertions(+), 68 deletions(-)
diffs (254 lines):
diff --git a/libpurple/protocols/facebook/api.h b/libpurple/protocols/facebook/api.h
--- a/libpurple/protocols/facebook/api.h
+++ b/libpurple/protocols/facebook/api.h
@@ -41,12 +41,12 @@
#include "id.h"
#include "mqtt.h"
-#define FB_TYPE_API (fb_api_get_type())
-#define FB_API(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_API, FbApi))
-#define FB_API_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_API, FbApiClass))
-#define FB_IS_API(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_API))
+#define FB_TYPE_API (fb_api_get_type())
+#define FB_API(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_API, FbApi))
+#define FB_API_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_API, FbApiClass))
+#define FB_IS_API(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_API))
#define FB_IS_API_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), FB_TYPE_API))
-#define FB_API_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_API, FbApiClass))
+#define FB_API_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_API, FbApiClass))
/**
* FB_API_AHOST:
diff --git a/libpurple/protocols/facebook/data.h b/libpurple/protocols/facebook/data.h
--- a/libpurple/protocols/facebook/data.h
+++ b/libpurple/protocols/facebook/data.h
@@ -41,12 +41,12 @@
#include "http.h"
#include "id.h"
-#define FB_TYPE_DATA (fb_data_get_type())
-#define FB_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_DATA, FbData))
-#define FB_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_DATA, FbDataClass))
-#define FB_IS_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_DATA))
+#define FB_TYPE_DATA (fb_data_get_type())
+#define FB_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_DATA, FbData))
+#define FB_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_DATA, FbDataClass))
+#define FB_IS_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_DATA))
#define FB_IS_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), FB_TYPE_DATA))
-#define FB_DATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_DATA, FbDataClass))
+#define FB_DATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_DATA, FbDataClass))
/**
* FB_DATA_ICON_MAX:
diff --git a/libpurple/protocols/facebook/facebook.h b/libpurple/protocols/facebook/facebook.h
--- a/libpurple/protocols/facebook/facebook.h
+++ b/libpurple/protocols/facebook/facebook.h
@@ -33,12 +33,12 @@
#include <glib.h>
-#define FACEBOOK_TYPE_PROTOCOL (facebook_protocol_get_type())
-#define FACEBOOK_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FACEBOOK_TYPE_PROTOCOL, FacebookProtocol))
-#define FACEBOOK_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FACEBOOK_TYPE_PROTOCOL, FacebookProtocolClass))
-#define FACEBOOK_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FACEBOOK_TYPE_PROTOCOL))
+#define FACEBOOK_TYPE_PROTOCOL (facebook_protocol_get_type())
+#define FACEBOOK_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FACEBOOK_TYPE_PROTOCOL, FacebookProtocol))
+#define FACEBOOK_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FACEBOOK_TYPE_PROTOCOL, FacebookProtocolClass))
+#define FACEBOOK_IS_PROTOCOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FACEBOOK_TYPE_PROTOCOL))
#define FACEBOOK_IS_PROTOCOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), FACEBOOK_TYPE_PROTOCOL))
-#define FACEBOOK_PROTOCOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FACEBOOK_TYPE_PROTOCOL, FacebookProtocolClass))
+#define FACEBOOK_PROTOCOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FACEBOOK_TYPE_PROTOCOL, FacebookProtocolClass))
/**
* FB_PROTOCOL_ID:
diff --git a/libpurple/protocols/facebook/json.h b/libpurple/protocols/facebook/json.h
--- a/libpurple/protocols/facebook/json.h
+++ b/libpurple/protocols/facebook/json.h
@@ -79,9 +79,9 @@ typedef enum
{
FB_JSON_TYPE_NULL = 0,
FB_JSON_TYPE_BOOL = G_TYPE_BOOLEAN,
- FB_JSON_TYPE_DBL = G_TYPE_DOUBLE,
- FB_JSON_TYPE_INT = G_TYPE_INT64,
- FB_JSON_TYPE_STR = G_TYPE_STRING
+ FB_JSON_TYPE_DBL = G_TYPE_DOUBLE,
+ FB_JSON_TYPE_INT = G_TYPE_INT64,
+ FB_JSON_TYPE_STR = G_TYPE_STRING
} FbJsonType;
/**
diff --git a/libpurple/protocols/facebook/mqtt.h b/libpurple/protocols/facebook/mqtt.h
--- a/libpurple/protocols/facebook/mqtt.h
+++ b/libpurple/protocols/facebook/mqtt.h
@@ -36,19 +36,19 @@
#include "connection.h"
-#define FB_TYPE_MQTT (fb_mqtt_get_type())
-#define FB_MQTT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_MQTT, FbMqtt))
-#define FB_MQTT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_MQTT, FbMqttClass))
-#define FB_IS_MQTT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_MQTT))
+#define FB_TYPE_MQTT (fb_mqtt_get_type())
+#define FB_MQTT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_MQTT, FbMqtt))
+#define FB_MQTT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_MQTT, FbMqttClass))
+#define FB_IS_MQTT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_MQTT))
#define FB_IS_MQTT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), FB_TYPE_MQTT))
-#define FB_MQTT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_MQTT, FbMqttClass))
+#define FB_MQTT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_MQTT, FbMqttClass))
-#define FB_TYPE_MQTT_MESSAGE (fb_mqtt_message_get_type())
-#define FB_MQTT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_MQTT_MESSAGE, FbMqttMessage))
-#define FB_MQTT_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_MQTT_MESSAGE, FbMqttMessageClass))
-#define FB_IS_MQTT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_MQTT_MESSAGE))
+#define FB_TYPE_MQTT_MESSAGE (fb_mqtt_message_get_type())
+#define FB_MQTT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_MQTT_MESSAGE, FbMqttMessage))
+#define FB_MQTT_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_MQTT_MESSAGE, FbMqttMessageClass))
+#define FB_IS_MQTT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_MQTT_MESSAGE))
#define FB_IS_MQTT_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), FB_TYPE_MQTT_MESSAGE))
-#define FB_MQTT_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_MQTT_MESSAGE, FbMqttMessageClass))
+#define FB_MQTT_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_MQTT_MESSAGE, FbMqttMessageClass))
/**
* FB_MQTT_NAME:
@@ -136,9 +136,9 @@ typedef struct _FbMqttMessagePrivate FbM
*/
typedef enum
{
- FB_MQTT_CONNECT_FLAG_CLR = 1 << 1,
+ FB_MQTT_CONNECT_FLAG_CLR = 1 << 1,
FB_MQTT_CONNECT_FLAG_WILL = 1 << 2,
- FB_MQTT_CONNECT_FLAG_RET = 1 << 5,
+ FB_MQTT_CONNECT_FLAG_RET = 1 << 5,
FB_MQTT_CONNECT_FLAG_PASS = 1 << 6,
FB_MQTT_CONNECT_FLAG_USER = 1 << 7,
FB_MQTT_CONNECT_FLAG_QOS0 = 0 << 3,
@@ -160,11 +160,11 @@ typedef enum
*/
typedef enum
{
- FB_MQTT_ERROR_SUCCESS = 0,
- FB_MQTT_ERROR_PRTVERS = 1,
- FB_MQTT_ERROR_IDREJECT = 2,
- FB_MQTT_ERROR_SRVGONE = 3,
- FB_MQTT_ERROR_USERPASS = 4,
+ FB_MQTT_ERROR_SUCCESS = 0,
+ FB_MQTT_ERROR_PRTVERS = 1,
+ FB_MQTT_ERROR_IDREJECT = 2,
+ FB_MQTT_ERROR_SRVGONE = 3,
+ FB_MQTT_ERROR_USERPASS = 4,
FB_MQTT_ERROR_UNAUTHORIZED = 5,
FB_MQTT_ERROR_GENERAL
} FbMqttError;
@@ -181,8 +181,8 @@ typedef enum
*/
typedef enum
{
- FB_MQTT_MESSAGE_FLAG_RET = 1 << 0,
- FB_MQTT_MESSAGE_FLAG_DUP = 1 << 3,
+ FB_MQTT_MESSAGE_FLAG_RET = 1 << 0,
+ FB_MQTT_MESSAGE_FLAG_DUP = 1 << 3,
FB_MQTT_MESSAGE_FLAG_QOS0 = 0 << 1,
FB_MQTT_MESSAGE_FLAG_QOS1 = 1 << 1,
FB_MQTT_MESSAGE_FLAG_QOS2 = 2 << 1
@@ -209,20 +209,20 @@ typedef enum
*/
typedef enum
{
- FB_MQTT_MESSAGE_TYPE_CONNECT = 1,
- FB_MQTT_MESSAGE_TYPE_CONNACK = 2,
- FB_MQTT_MESSAGE_TYPE_PUBLISH = 3,
- FB_MQTT_MESSAGE_TYPE_PUBACK = 4,
- FB_MQTT_MESSAGE_TYPE_PUBREC = 5,
- FB_MQTT_MESSAGE_TYPE_PUBREL = 6,
- FB_MQTT_MESSAGE_TYPE_PUBCOMP = 7,
- FB_MQTT_MESSAGE_TYPE_SUBSCRIBE = 8,
- FB_MQTT_MESSAGE_TYPE_SUBACK = 9,
+ FB_MQTT_MESSAGE_TYPE_CONNECT = 1,
+ FB_MQTT_MESSAGE_TYPE_CONNACK = 2,
+ FB_MQTT_MESSAGE_TYPE_PUBLISH = 3,
+ FB_MQTT_MESSAGE_TYPE_PUBACK = 4,
+ FB_MQTT_MESSAGE_TYPE_PUBREC = 5,
+ FB_MQTT_MESSAGE_TYPE_PUBREL = 6,
+ FB_MQTT_MESSAGE_TYPE_PUBCOMP = 7,
+ FB_MQTT_MESSAGE_TYPE_SUBSCRIBE = 8,
+ FB_MQTT_MESSAGE_TYPE_SUBACK = 9,
FB_MQTT_MESSAGE_TYPE_UNSUBSCRIBE = 10,
- FB_MQTT_MESSAGE_TYPE_UNSUBACK = 11,
- FB_MQTT_MESSAGE_TYPE_PINGREQ = 12,
- FB_MQTT_MESSAGE_TYPE_PINGRESP = 13,
- FB_MQTT_MESSAGE_TYPE_DISCONNECT = 14
+ FB_MQTT_MESSAGE_TYPE_UNSUBACK = 11,
+ FB_MQTT_MESSAGE_TYPE_PINGREQ = 12,
+ FB_MQTT_MESSAGE_TYPE_PINGRESP = 13,
+ FB_MQTT_MESSAGE_TYPE_DISCONNECT = 14
} FbMqttMessageType;
/**
diff --git a/libpurple/protocols/facebook/thrift.h b/libpurple/protocols/facebook/thrift.h
--- a/libpurple/protocols/facebook/thrift.h
+++ b/libpurple/protocols/facebook/thrift.h
@@ -34,12 +34,12 @@
#include <glib.h>
#include <glib-object.h>
-#define FB_TYPE_THRIFT (fb_thrift_get_type())
-#define FB_THRIFT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_THRIFT, FbThrift))
-#define FB_THRIFT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_THRIFT, FbThriftClass))
-#define FB_IS_THRIFT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_THRIFT))
+#define FB_TYPE_THRIFT (fb_thrift_get_type())
+#define FB_THRIFT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), FB_TYPE_THRIFT, FbThrift))
+#define FB_THRIFT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), FB_TYPE_THRIFT, FbThriftClass))
+#define FB_IS_THRIFT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FB_TYPE_THRIFT))
#define FB_IS_THRIFT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), FB_TYPE_THRIFT))
-#define FB_THRIFT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_THRIFT, FbThriftClass))
+#define FB_THRIFT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FB_TYPE_THRIFT, FbThriftClass))
typedef struct _FbThrift FbThrift;
typedef struct _FbThriftClass FbThriftClass;
@@ -67,20 +67,20 @@ typedef struct _FbThriftPrivate FbThrift
*/
typedef enum
{
- FB_THRIFT_TYPE_STOP = 0,
- FB_THRIFT_TYPE_VOID = 1,
- FB_THRIFT_TYPE_BOOL = 2,
- FB_THRIFT_TYPE_BYTE = 3,
+ FB_THRIFT_TYPE_STOP = 0,
+ FB_THRIFT_TYPE_VOID = 1,
+ FB_THRIFT_TYPE_BOOL = 2,
+ FB_THRIFT_TYPE_BYTE = 3,
FB_THRIFT_TYPE_DOUBLE = 4,
- FB_THRIFT_TYPE_I16 = 6,
- FB_THRIFT_TYPE_I32 = 8,
- FB_THRIFT_TYPE_I64 = 10,
+ FB_THRIFT_TYPE_I16 = 6,
+ FB_THRIFT_TYPE_I32 = 8,
+ FB_THRIFT_TYPE_I64 = 10,
FB_THRIFT_TYPE_STRING = 11,
FB_THRIFT_TYPE_STRUCT = 12,
- FB_THRIFT_TYPE_MAP = 13,
- FB_THRIFT_TYPE_SET = 14,
- FB_THRIFT_TYPE_LIST = 15,
- FB_THRIFT_TYPE_ENUM = 16,
+ FB_THRIFT_TYPE_MAP = 13,
+ FB_THRIFT_TYPE_SET = 14,
+ FB_THRIFT_TYPE_LIST = 15,
+ FB_THRIFT_TYPE_ENUM = 16,
FB_THRIFT_TYPE_UNKNOWN
} FbThriftType;
diff --git a/libpurple/protocols/facebook/util.h b/libpurple/protocols/facebook/util.h
--- a/libpurple/protocols/facebook/util.h
+++ b/libpurple/protocols/facebook/util.h
@@ -79,9 +79,9 @@ typedef void (*FbUtilRequestBuddyFunc) (
*/
typedef enum
{
- FB_UTIL_DEBUG_FLAG_UNSAFE = 1 << 25,
+ FB_UTIL_DEBUG_FLAG_UNSAFE = 1 << 25,
FB_UTIL_DEBUG_FLAG_VERBOSE = 1 << 26,
- FB_UTIL_DEBUG_FLAG_ALL = 3 << 25
+ FB_UTIL_DEBUG_FLAG_ALL = 3 << 25
} FbUtilDebugFlags;
/**
More information about the Commits
mailing list