# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1189169036 -7200 # Node ID 61f1f017e847ad0cb0debbb668edd18c4116d043 # Parent 95fab0931d4767be5191f974231c92d68c52edf9 fix statusicon plugin diff -r 95fab0931d47 -r 61f1f017e847 src/statusicon/si.c --- a/src/statusicon/si.c Fri Sep 07 14:41:18 2007 +0200 +++ b/src/statusicon/si.c Fri Sep 07 14:43:56 2007 +0200 @@ -28,7 +28,7 @@ GeneralPlugin *statusicon_gplist[] = { &si_gp, NULL }; -DECLARE_PLUGIN(statusicon, NULL, NULL, NULL, NULL, NULL, statusicon_gplist, NULL, NULL); +SIMPLE_GENERAL_PLUGIN(statusicon, statusicon_gplist); static gboolean plugin_active = FALSE; diff -r 95fab0931d47 -r 61f1f017e847 src/statusicon/si.h --- a/src/statusicon/si.h Fri Sep 07 14:41:18 2007 +0200 +++ b/src/statusicon/si.h Fri Sep 07 14:43:56 2007 +0200 @@ -32,13 +32,11 @@ GeneralPlugin si_gp = { - NULL, /* handle */ - NULL, /* filename */ - "Status Icon " SI_VERSION_PLUGIN, /* description */ - si_init, /* init */ - si_about, /* about */ - si_prefs, /* configure */ - si_cleanup /* cleanup */ + .description = "Status Icon " SI_VERSION_PLUGIN, + .init = si_init, + .about = si_about, + .configure = si_prefs, + .cleanup = si_cleanup }; #endif /* !_I_SI_H */