pidgin/pidgin

Merged default branch
soc.2013.gobjectification.plugins
2014-01-30, Ankit Vani
88242596aaf9
Merged default branch
--- a/libpurple/glibcompat.h Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/glibcompat.h Thu Jan 30 01:00:51 2014 +0530
@@ -25,6 +25,9 @@
* Also, any public API should not depend on this file.
*/
+#include <glib.h>
+
+
#ifdef __clang__
#undef G_GNUC_BEGIN_IGNORE_DEPRECATIONS
@@ -39,8 +42,6 @@
#endif /* __clang__ */
-#include <glib.h>
-
#if !GLIB_CHECK_VERSION(2, 32, 0)
#include <glib-object.h>
--- a/libpurple/protocols/gg/Makefile.am Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/Makefile.am Thu Jan 30 01:00:51 2014 +0530
@@ -55,8 +55,6 @@
GGSOURCES = \
$(INTGGSOURCES) \
- account.c \
- account.h \
avatar.c \
avatar.h \
blist.c \
--- a/libpurple/protocols/gg/Makefile.mingw Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/Makefile.mingw Thu Jan 30 01:00:51 2014 +0530
@@ -46,7 +46,6 @@
## SOURCES, OBJECTS
##
C_SRC = \
- account.c \
avatar.c \
blist.c \
chat.c \
--- a/libpurple/protocols/gg/account.h Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/account.h Thu Jan 30 01:00:51 2014 +0530
@@ -30,6 +30,8 @@
#ifndef _GGP_ACCOUNT_H
#define _GGP_ACCOUNT_H
+#error "This file is outdated"
+
#include <internal.h>
typedef struct
--- a/libpurple/protocols/gg/blist.h Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/blist.h Thu Jan 30 01:00:51 2014 +0530
@@ -25,7 +25,6 @@
#define _PURPLE_GG_BLIST_H
#include "connection.h"
-#include "account.h"
void
ggp_buddylist_send(PurpleConnection *gc);
--- a/libpurple/protocols/gg/gg.c Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/gg.c Thu Jan 30 01:00:51 2014 +0530
@@ -44,7 +44,6 @@
#include "blist.h"
#include "utils.h"
#include "resolver-purple.h"
-#include "account.h"
#include "deprecated.h"
#include "purplew.h"
#include "libgadu-events.h"
@@ -900,11 +899,6 @@
ggp_multilogon_dialog(action->connection);
}
-static void ggp_action_chpass(PurpleProtocolAction *action)
-{
- ggp_account_chpass(action->connection);
-}
-
static void ggp_action_status_broadcasting(PurpleProtocolAction *action)
{
ggp_status_broadcasting_dialog(action->connection);
@@ -925,10 +919,6 @@
GList *m = NULL;
PurpleProtocolAction *act;
- act = purple_protocol_action_new(_("Change password..."),
- ggp_action_chpass);
- m = g_list_append(m, act);
-
act = purple_protocol_action_new(_("Show other sessions"),
ggp_action_multilogon);
m = g_list_append(m, act);
@@ -1001,8 +991,7 @@
protocol->id = "prpl-gg";
protocol->name = "Gadu-Gadu";
- protocol->options = OPT_PROTO_REGISTER_NOSCREENNAME |
- OPT_PROTO_IM_IMAGE;
+ protocol->options = OPT_PROTO_IM_IMAGE;
protocol->icon_spec = purple_buddy_icon_spec_new("png",
1, 1, 200, 200, 0,
PURPLE_ICON_SCALE_DISPLAY |
@@ -1072,7 +1061,6 @@
static void
ggp_protocol_server_iface_init(PurpleProtocolServerIface *server_iface)
{
- server_iface->register_user = ggp_account_register;
server_iface->get_info = ggp_pubdir_get_info_protocol;
server_iface->set_status = ggp_status_set_purplestatus;
server_iface->add_buddy = ggp_add_buddy;
--- a/libpurple/protocols/gg/gg.h Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/gg.h Thu Jan 30 01:00:51 2014 +0530
@@ -40,7 +40,6 @@
#include "image.h"
#include "avatar.h"
-#include "account.h"
#include "roster.h"
#include "multilogon.h"
#include "status.h"
--- a/libpurple/protocols/gg/validator.c Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/validator.c Thu Jan 30 01:00:51 2014 +0530
@@ -29,8 +29,10 @@
#include "validator.h"
+#include "utils.h"
+
+#if 0
#include "account.h"
-#include "utils.h"
gboolean ggp_validator_token(PurpleRequestField *field, gchar **errmsg,
void *token)
@@ -50,6 +52,7 @@
*errmsg = g_strdup(_("Captcha validation failed"));
return FALSE;
}
+#endif
gboolean ggp_validator_password(PurpleRequestField *field, gchar **errmsg,
void *user_data)
--- a/libpurple/protocols/gg/validator.h Wed Jan 29 10:49:02 2014 +0530
+++ b/libpurple/protocols/gg/validator.h Thu Jan 30 01:00:51 2014 +0530
@@ -33,8 +33,11 @@
#include <internal.h>
#include <request.h>
+#if 0
+/* see account.h */
gboolean ggp_validator_token(PurpleRequestField *field, gchar **errmsg,
void *token);
+#endif
gboolean ggp_validator_password(PurpleRequestField *field, gchar **errmsg,
void *user_data);