/soc/2012/michael/android: 488a4852708f: Fixed ui name (was hard...

Michael Zangl michael at soc.pidgin.im
Wed Jul 25 07:23:39 EDT 2012


Changeset: 488a4852708fe4e44fccc3d06049f2bcac02ffcf
Author:	 Michael Zangl <michael at soc.pidgin.im>
Date:	 2012-07-21 12:43 +0200
Branch:	 soc.2012.android
URL: http://hg.pidgin.im/soc/2012/michael/android/rev/488a4852708f

Description:

Fixed ui name (was hardcoded)

diffstat:

 android/workspace/im.pidgin.libpurple/native/helpers.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff --git a/android/workspace/im.pidgin.libpurple/native/helpers.h b/android/workspace/im.pidgin.libpurple/native/helpers.h
--- a/android/workspace/im.pidgin.libpurple/native/helpers.h
+++ b/android/workspace/im.pidgin.libpurple/native/helpers.h
@@ -10,11 +10,12 @@
 #include <glib.h>
 #include <jni.h>
 #include <stdint.h>
+#include <libpurple/core.h>
 
 /**
  * This is a placeholder until proper UI name support is integrated.
  */
-#define ANDROID_UI "android"
+#define ANDROID_UI purple_core_get_ui()
 
 /**
  * Converts a pointer to a java long



More information about the Commits mailing list