Mercurial > pidgin.yaz
comparison src/plugin.c @ 13250:58b8e87ad657
[gaim-migrate @ 15616]
compare_plugins() is only used if GAIM_PLUGINS is defined
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 12 Feb 2006 18:21:58 +0000 |
parents | 7fd39c81d5e9 |
children | 10c26505d6db |
comparison
equal
deleted
inserted
replaced
13249:65a7de0f59ff | 13250:58b8e87ad657 |
---|---|
465 #else | 465 #else |
466 return NULL; | 466 return NULL; |
467 #endif /* !GAIM_PLUGINS */ | 467 #endif /* !GAIM_PLUGINS */ |
468 } | 468 } |
469 | 469 |
470 #ifdef GAIM_PLUGINS | |
470 static gint | 471 static gint |
471 compare_plugins(gconstpointer a, gconstpointer b) | 472 compare_plugins(gconstpointer a, gconstpointer b) |
472 { | 473 { |
473 const GaimPlugin *plugina = a; | 474 const GaimPlugin *plugina = a; |
474 const GaimPlugin *pluginb = b; | 475 const GaimPlugin *pluginb = b; |
475 | 476 |
476 return strcmp(plugina->info->name, pluginb->info->name); | 477 return strcmp(plugina->info->name, pluginb->info->name); |
477 } | 478 } |
479 #endif /* GAIM_PLUGINS */ | |
478 | 480 |
479 gboolean | 481 gboolean |
480 gaim_plugin_load(GaimPlugin *plugin) | 482 gaim_plugin_load(GaimPlugin *plugin) |
481 { | 483 { |
482 #ifdef GAIM_PLUGINS | 484 #ifdef GAIM_PLUGINS |