/soc/2013/ankitkv/gobjectification: 764b45883fba: Moved internal...

Ankit Vani a at nevitus.org
Sun Sep 22 09:26:36 EDT 2013


Changeset: 764b45883fbaf7b6e5061b2c2488d5bf368a05b5
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-09-22 18:47 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/764b45883fba

Description:

Moved internal.h inclusion over others in libpurple plugins

diffstat:

 libpurple/plugins/debug_example.c    |  8 +++-----
 libpurple/plugins/filectl.c          |  2 +-
 libpurple/plugins/keyrings/wincred.c |  2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diffs (53 lines):

diff --git a/libpurple/plugins/debug_example.c b/libpurple/plugins/debug_example.c
--- a/libpurple/plugins/debug_example.c
+++ b/libpurple/plugins/debug_example.c
@@ -79,10 +79,9 @@ plugin_query(GError **error)
 	);
 }
 
-/* As we've covered before, libpurple calls this function, if present, when it
- * loads the plugin.  Here we're using it to show off the capabilities of the
- * debug API and just blindly returning TRUE to tell libpurple it's safe to
- * continue loading. */
+/* As we've covered before, this function is called when the plugin is loaded.
+ * Here we're using it to show off the capabilities of the debug API and just
+ * blindly returning TRUE to tell libpurple it's safe to continue loading. */
 static gboolean
 plugin_load(PurplePlugin *plugin, GError **error)
 {
@@ -123,4 +122,3 @@ plugin_unload(PurplePlugin *plugin, GErr
 }
 
 PURPLE_PLUGIN_INIT(debugexample, plugin_query, plugin_load, plugin_unload);
-
diff --git a/libpurple/plugins/filectl.c b/libpurple/plugins/filectl.c
--- a/libpurple/plugins/filectl.c
+++ b/libpurple/plugins/filectl.c
@@ -15,13 +15,13 @@
 #include <string.h>
 #include <ctype.h>
 
+#include "internal.h"
 #include "account.h"
 #include "config.h"
 #include "core.h"
 #include "conversation.h"
 #include "debug.h"
 #include "eventloop.h"
-#include "internal.h"
 #include "util.h"
 #include "version.h"
 
diff --git a/libpurple/plugins/keyrings/wincred.c b/libpurple/plugins/keyrings/wincred.c
--- a/libpurple/plugins/keyrings/wincred.c
+++ b/libpurple/plugins/keyrings/wincred.c
@@ -24,8 +24,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
  */
 
+#include "internal.h"
 #include "debug.h"
-#include "internal.h"
 #include "keyring.h"
 #include "plugins.h"
 #include "version.h"



More information about the Commits mailing list