From e36c8b1d5d21412c4abacfd184850eaff80059e6 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 14 Aug 2009 17:06:59 -0500 Subject: [PATCH] Follow the more common glib convention for destroy --- src/modem.c | 2 +- src/ofono.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modem.c b/src/modem.c index 90f8a72..44a8152 100644 --- a/src/modem.c +++ b/src/modem.c @@ -193,7 +193,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom) int __ofono_modem_add_atom_watch(struct ofono_modem *modem, enum ofono_atom_type type, ofono_atom_watch_func notify, - ofono_destroy_func destroy, void *data) + void *data, ofono_destroy_func destroy) { struct ofono_atom_watch *watch; diff --git a/src/ofono.h b/src/ofono.h index 70239cd..5dc46e4 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -139,7 +139,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom); int __ofono_modem_add_atom_watch(struct ofono_modem *modem, enum ofono_atom_type type, ofono_atom_watch_func notify, - ofono_destroy_func destroy, void *data); + void *data, ofono_destroy_func destroy); gboolean __ofono_modem_remove_atom_watch(struct ofono_modem *modem, int id); void __ofono_atom_free(struct ofono_atom *atom); -- 2.7.4