Mercurial > pidgin.yaz
comparison plugins/pluginpref_example.c @ 8745:6c0fae7a4f1a
[gaim-migrate @ 9500]
" fixed up an issue in the example plugin and a memory
leak and some other code.." --Gary Kramlich
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Wed, 21 Apr 2004 21:05:08 +0000 |
| parents | 7024b595b6ae |
| children | d7b8eb1f0a18 |
comparison
equal
deleted
inserted
replaced
| 8744:0f73e8204529 | 8745:6c0fae7a4f1a |
|---|---|
| 31 | 31 |
| 32 #include "plugin.h" | 32 #include "plugin.h" |
| 33 #include "pluginpref.h" | 33 #include "pluginpref.h" |
| 34 #include "prefs.h" | 34 #include "prefs.h" |
| 35 | 35 |
| 36 GaimPluginPrefFrame * | 36 static GaimPluginPrefFrame * |
| 37 get_plugin_pref_frame(GaimPlugin *plugin) { | 37 get_plugin_pref_frame(GaimPlugin *plugin) { |
| 38 GaimPluginPrefFrame *frame; | 38 GaimPluginPrefFrame *frame; |
| 39 GaimPluginPref *ppref; | 39 GaimPluginPref *ppref; |
| 40 | 40 |
| 41 frame = gaim_plugin_pref_frame_new(); | 41 frame = gaim_plugin_pref_frame_new(); |
| 144 gaim_prefs_add_string("/plugins/core/pluginpref_example/max_string", | 144 gaim_prefs_add_string("/plugins/core/pluginpref_example/max_string", |
| 145 "max length string"); | 145 "max length string"); |
| 146 gaim_prefs_add_string("/plugins/core/pluginpref_example/string_choice", "red"); | 146 gaim_prefs_add_string("/plugins/core/pluginpref_example/string_choice", "red"); |
| 147 } | 147 } |
| 148 | 148 |
| 149 GAIM_INIT_PLUGIN(relnot, init_plugin, info) | 149 GAIM_INIT_PLUGIN(ppexample, init_plugin, info) |
