[libmce-glib] Added remove_all_handlers macros. JB#36523
mce_display_remove_all_handlers and mce_tklock_remove_handlers
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user