# HG changeset patch # User Richard Laager # Date 1145911275 0 # Node ID 428f86e1fd277da679e9651f5ffbcbdb5ba835b3 # Parent 22ac7f523fc93a51a7e31e0f7d94e58b1217697e [gaim-migrate @ 16091] SF Patch #1464437 "1. A sample plugin ID with a comment explaining its purpose 2. One tiny comment alignment fix." committer: Tailor Script diff -r 22ac7f523fc9 -r 428f86e1fd27 plugins/simple.c --- a/plugins/simple.c Mon Apr 24 20:37:00 2006 +0000 +++ b/plugins/simple.c Mon Apr 24 20:41:15 2006 +0000 @@ -3,6 +3,9 @@ #include "plugin.h" #include "version.h" +/** Plugin id : type-author-name (to guarantee uniqueness) */ +#define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple" + static gboolean plugin_load(GaimPlugin *plugin) { @@ -30,7 +33,7 @@ NULL, /**< dependencies */ GAIM_PRIORITY_DEFAULT, /**< priority */ - NULL, /**< id */ + SIMPLE_PLUGIN_ID, /**< id */ N_("Simple Plugin"), /**< name */ VERSION, /**< version */ /** summary */ @@ -38,7 +41,7 @@ /** description */ N_("Tests to see that most things are working."), "Eric Warmenhoven ", /**< author */ - GAIM_WEBSITE, /**< homepage */ + GAIM_WEBSITE, /**< homepage */ plugin_load, /**< load */ plugin_unload, /**< unload */