X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fdetailedevents%2Flttv_plugin_evd.c;h=bae69c61d1c7fcf1ffa8258ac6897d81fec55a7a;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=ae93579a352be74a383789bab2254c66d079c841;hpb=f61f4dca50e13aa52b1ca3941c8f420848f4353f;p=lttv.git diff --git a/lttv/modules/gui/detailedevents/lttv_plugin_evd.c b/lttv/modules/gui/detailedevents/lttv_plugin_evd.c index ae93579a..bae69c61 100644 --- a/lttv/modules/gui/detailedevents/lttv_plugin_evd.c +++ b/lttv/modules/gui/detailedevents/lttv_plugin_evd.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ @@ -28,7 +28,7 @@ /* * Implementation */ - +#ifdef BABEL_CLEANUP static void evd_update_filter(LttvPlugin *parent, LttvFilter *filter) { LttvPluginEVD *self = LTTV_PLUGIN_EVD(parent); @@ -37,14 +37,17 @@ static void evd_update_filter(LttvPlugin *parent, LttvFilter *filter) self->evd->filter = filter; evd_redraw_notify(self->evd, NULL); } - +#endif //babel cleanup static void lttv_plugin_evd_class_init (LttvPluginEVDClass *klass) { + #ifdef BABEL_CLEANUP LttvPluginClass *parent_klass; parent_klass = &klass->parent; + parent_klass->update_filter = evd_update_filter; +#endif //babel cleanup g_type_class_add_private (klass, sizeof (EventViewerData)); } @@ -67,7 +70,7 @@ lttv_plugin_evd_get_type (void) sizeof (LttvPluginEVDClass), NULL, /* base_init */ NULL, /* base_finalize */ - lttv_plugin_evd_class_init, /* class_init */ + (GClassInitFunc) lttv_plugin_evd_class_init, /* class_init */ NULL, /* class_finalize */ NULL, /* class_data */ sizeof (LttvPluginEVD),