/soc/2015/nakulgulati/main: f0edb1017dda: hangouts: header file ...
Nakul at rock.pidgin.im
Nakul at rock.pidgin.im
Mon Aug 10 05:58:48 EDT 2015
Changeset: f0edb1017dda31a9e74181608b4100540a37e1ae
Author: Nakul Gulati
Date: 2015-08-10 13:51 +0800
Branch: hangouts
URL: https://hg.pidgin.im/soc/2015/nakulgulati/main/rev/f0edb1017dda
Description:
hangouts: header file prefix
diffstat:
libpurple/protocols/hangouts/api.h | 7 +++----
libpurple/protocols/hangouts/util.h | 6 +++---
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (48 lines):
diff --git a/libpurple/protocols/hangouts/api.h b/libpurple/protocols/hangouts/api.h
--- a/libpurple/protocols/hangouts/api.h
+++ b/libpurple/protocols/hangouts/api.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
-#ifndef _API_H
-#define _API_H
+#ifndef _HANGOUTS_API_H
+#define _HANGOUTS_API_H
#include <json-glib/json-glib.h>
@@ -62,7 +62,6 @@ response_type=code\
#define HANGOUTS_TYPE_API (hangouts_api_get_type())
#define HANGOUTS_API(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), HANGOUTS_TYPE_API, HangoutsApi))
-#define HANGOUTS_API(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), HANGOUTS_TYPE_API, HangoutsApi))
#define HANGOUTS_API_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), HANGOUTS_TYPE_API, HangoutsApiClass))
#define HANGOUTS_IS_API(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), HANGOUTS_TYPE_API))
#define HANGOUTS_IS_API_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), HANGOUTS_TYPE_API))
@@ -143,4 +142,4 @@ void
hangouts_api_setactiveclient (HangoutsApi *api, gboolean is_active,
gchar *timeout_sec);
-#endif /* _API_H */
+#endif /* _HANGOUTS_API_H */
diff --git a/libpurple/protocols/hangouts/util.h b/libpurple/protocols/hangouts/util.h
--- a/libpurple/protocols/hangouts/util.h
+++ b/libpurple/protocols/hangouts/util.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
*/
-#ifndef _UTIL_H
-#define _UTIL_H
+#ifndef _HANGOUTS_UTIL_H
+#define _HANGOUTS_UTIL_H
static const gchar *HANGOUTS_CHAT_INIT_REGEX =
"(?:<script>AF_initDataCallback\((.*?)\);<\/script>)";
@@ -42,4 +42,4 @@ hangouts_util_add_node (gpointer key, gp
JsonNode *
hangouts_util_construct_json_dictionary (GHashTable *tab);
-#endif _UTIL_H
+#endif /* _HANGOUTS_UTIL_H */
More information about the Commits
mailing list