Fix gg build with internal libgadu

Sat, 28 Sep 2013 23:07:35 -0700

author
Mark Doliner <mark@kingant.net>
date
Sat, 28 Sep 2013 23:07:35 -0700
changeset 34454
a7b6015534e0
parent 34453
a75fe41a1802
child 34455
cdc53b913dd4
child 34481
25c373adf8de
child 34978
08260d94d8dd

Fix gg build with internal libgadu

Copy Ankit's change from the gobjectification branch.
I didn't try to pluck this or anything... maybe I should have.

libpurple/protocols/gg/gg.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/gg/gg.c	Sat Sep 28 23:06:40 2013 -0700
+++ b/libpurple/protocols/gg/gg.c	Sat Sep 28 23:07:35 2013 -0700
@@ -554,11 +554,13 @@
 						_("Error connecting to master "
 						"server"));
 					break;
+#if GGP_ENABLE_GG11
 				case GG_FAILURE_INTERNAL:
 					purple_connection_error(gc,
 						PURPLE_CONNECTION_ERROR_OTHER_ERROR,
 						_("Internal error"));
 					break;
+#endif
 				default:
 					purple_connection_error(gc,
 						PURPLE_CONNECTION_ERROR_NETWORK_ERROR,

mercurial