im.pidgin.cpw.rekkanoryo.examples: 963cd5f03b184925511e13efb19cc0727fd5172f

rekkanoryo at cpw.pidgin.im rekkanoryo at cpw.pidgin.im
Mon Nov 26 05:17:43 EST 2007


-----------------------------------------------------------------
Revision: 963cd5f03b184925511e13efb19cc0727fd5172f
Ancestor: 4436d0e7cde434d937c150a8c40d8ddf35beb279
Author: rekkanoryo at cpw.pidgin.im
Date: 2007-10-09T17:22:06
Branch: im.pidgin.cpw.rekkanoryo.examples

Modified files:
        libpurple/plugins/request_example.c

ChangeLog: 

Let's compile.

-------------- next part --------------
============================================================
--- libpurple/plugins/request_example.c	4a04c5462809bd6fe3cf0e01a2c3beef0b010f4b
+++ libpurple/plugins/request_example.c	3acccb3c78570e905fac43977a7de243a24b89e3
@@ -41,6 +41,15 @@
 # define PURPLE_PLUGINS
 #endif
 
+/* This is a *temporary* hack that I will remove before this gets merged
+ * to im.pidgin.pidgin. TODO: remove this hack! */
+#define _(string) (string)
+
+#include <notify.h>
+#include <plugin.h>
+#include <request.h>
+#include <version.h>
+
 #define PLUGIN_ID "core-requestexample"
 #define PLUGIN_AUTHOR "John Bailey <rekkanoryo at cpw.pidgin.im>"
 
@@ -53,6 +62,7 @@ ok_cancel_ok_cb(gpointer ignored)
 		"You clicked OK on the previous dialog and proceeded to this one.");
 }
 
+static void
 ok_cancel_cancel_cb(gpointer ignored)
 {
 	purple_notify_info(request_example, "Canceled", "You canceled.",
@@ -144,4 +154,4 @@ init_plugin(PurplePlugin *plugin)
 {
 }
 
+PURPLE_INIT_PLUGIN(requestexample, init_plugin, info)
-PURPLE_INIT_PLUGIN(notifyexample, init_plugin, info)


More information about the Commits mailing list