[libmce-glib] Added remove_all_handlers macros. JB#36523

mce_display_remove_all_handlers and mce_tklock_remove_handlers
This commit is contained in:
Slava Monich
2017-09-15 15:40:01 +03:00
parent aa002cbe8a
commit b57b52e81b
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016 Jolla Ltd.
* Copyright (C) 2016-2017 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
@@ -96,6 +96,9 @@ mce_display_remove_handlers(
gulong *ids,
guint count);
#define mce_display_remove_all_handlers(d, ids) \
mce_display_remove_handlers(d, ids, G_N_ELEMENTS(ids))
G_END_DECLS
#endif /* MCE_DISPLAY_H */

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2016 Jolla Ltd.
* Copyright (C) 2016-2017 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
@@ -107,6 +107,9 @@ mce_tklock_remove_handlers(
gulong *ids,
guint count);
#define mce_tklock_remove_all_handlers(t, ids) \
mce_tklock_remove_handlers(t, ids, G_N_ELEMENTS(ids))
G_END_DECLS
#endif /* MCE_TKLOCK_H */