GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d10f934
)
more cleaning of autoansw.c
author
Harvie
<tomas@mudrunka.cz>
Tue, 1 Jun 2010 23:34:25 +0000
(
01:34
+0200)
committer
Harvie
<tomas@mudrunka.cz>
Tue, 1 Jun 2010 23:34:25 +0000
(
01:34
+0200)
plugins/pidgin-plugins/autokiss/autoansw.c
patch
|
blob
|
blame
|
history
diff --git
a/plugins/pidgin-plugins/autokiss/autoansw.c
b/plugins/pidgin-plugins/autokiss/autoansw.c
index 030518adee2a04e7d41373d14de85b06cf593bb9..f500e0aa31fe834b9709e3968278cb1c84187ba3 100755
(executable)
--- a/
plugins/pidgin-plugins/autokiss/autoansw.c
+++ b/
plugins/pidgin-plugins/autokiss/autoansw.c
@@
-33,13
+33,11
@@
gint compare_str(gconstpointer a, gconstpointer b) {
static void
received_im_msg_cb(PurpleAccount * account, char *who, char *buffer,
static void
received_im_msg_cb(PurpleAccount * account, char *who, char *buffer,
-
PurpleConversation * conv, PurpleMessageFlags flags,
-
void *data) {
+PurpleConversation * conv, PurpleMessageFlags flags,
+void *data) {
/* A workaround to avoid skipping of the first message as a result on NULL-conv: */
/* A workaround to avoid skipping of the first message as a result on NULL-conv: */
- if (conv == NULL)
- conv =
- purple_conversation_new(PURPLE_CONV_TYPE_IM, account, who);
+ if (conv == NULL) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, who);
buff = purple_markup_strip_html(buffer);
printf("\nHarvie received 1: %s\n", buffer);
buff = purple_markup_strip_html(buffer);
printf("\nHarvie received 1: %s\n", buffer);
@@
-48,7
+46,6
@@
received_im_msg_cb(PurpleAccount * account, char *who, char *buffer,
}
}
-/* Plugin Routine */
static gboolean plugin_load(PurplePlugin * plugin) {
void *conv_handle = purple_conversations_get_handle();
static gboolean plugin_load(PurplePlugin * plugin) {
void *conv_handle = purple_conversations_get_handle();
@@
-60,7
+57,6
@@
static gboolean plugin_load(PurplePlugin * plugin) {
}
static gboolean plugin_unload(PurplePlugin * plugin) {
}
static gboolean plugin_unload(PurplePlugin * plugin) {
-
return TRUE;
}
return TRUE;
}
@@
-74,20
+70,17
@@
static PurplePluginInfo info = {
NULL,
PURPLE_PRIORITY_DEFAULT,
NULL,
PURPLE_PRIORITY_DEFAULT,
- "core-autokiss", /**< id */
- "AutoKiss", /**< name */
- "0.1", /**< version */
- /** summary */
- "Automatically answering based on regexes.",
- /** description */
+ "core-autokiss",
+ "AutoKiss",
+ "0.1",
+ "Automatic answering",
"Automatically answering based on regexpppppppppppppppp",
"Automatically answering based on regexpppppppppppppppp",
- "Harvie <harvie@email.cz>",
/**< author */
- "http://sourceforge.net/projects/pidgin-autoansw",
/**< homepage */
+ "Harvie <harvie@email.cz>",
+ "http://sourceforge.net/projects/pidgin-autoansw",
- plugin_load,
/**< load */
- plugin_unload,
/**< unload */
+ plugin_load,
+ plugin_unload,
NULL,
NULL,
-
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
This page took
0.128147 seconds
and
4
git commands to generate.