| 65 |
65 |
| 66 /* we tell libpurple in the PurplePluginInfo struct to call this function to |
66 /* we tell libpurple in the PurplePluginInfo struct to call this function to |
| 67 * get a list of plugin actions to use for the plugin. This function gives |
67 * get a list of plugin actions to use for the plugin. This function gives |
| 68 * libpurple that list of actions. */ |
68 * libpurple that list of actions. */ |
| 69 static GList * |
69 static GList * |
| 70 plugin_actions (PurplePlugin * plugin, gpointer context) |
70 plugin_actions (PurplePlugin * plugin) |
| 71 { |
71 { |
| 72 /* some C89 (a.k.a. ANSI C) compilers will warn if any variable declaration |
72 /* some C89 (a.k.a. ANSI C) compilers will warn if any variable declaration |
| 73 * includes an initilization that calls a function. To avoid that, we |
73 * includes an initilization that calls a function. To avoid that, we |
| 74 * generally initialize our variables first with constant values like NULL |
74 * generally initialize our variables first with constant values like NULL |
| 75 * or 0 and assign to them with function calls later */ |
75 * or 0 and assign to them with function calls later */ |