diff options
author | rbuj <[email protected]> | 2020-11-25 15:16:24 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-04 22:16:45 +0100 |
commit | 05b19376eab0550595c1f27647d028074c8f739a (patch) | |
tree | 91f8f9e635a65f94b26f2c1c3b8bd69204e19ff6 /libslab/search-bar.h | |
parent | ff32e170961fa1999f802c844ead5d962dfec505 (diff) | |
download | mate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.bz2 mate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.xz |
Use G_BEGIN_DECLS/G_END_DECLS macros
Diffstat (limited to 'libslab/search-bar.h')
-rw-r--r-- | libslab/search-bar.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libslab/search-bar.h b/libslab/search-bar.h index 65d0aba7..fca5216d 100644 --- a/libslab/search-bar.h +++ b/libslab/search-bar.h @@ -21,11 +21,10 @@ #ifndef __NLD_SEARCH_BAR_H__ #define __NLD_SEARCH_BAR_H__ +#include <glib.h> #include <gtk/gtk.h> -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define NLD_TYPE_SEARCH_BAR (nld_search_bar_get_type ()) #define NLD_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NLD_TYPE_SEARCH_BAR, NldSearchBar)) @@ -62,7 +61,6 @@ void nld_search_bar_set_search_timeout (NldSearchBar * search_bar, int search_ti const char *nld_search_bar_get_text (NldSearchBar * search_bar); void nld_search_bar_set_text (NldSearchBar * search_bar, const char *text, gboolean activate); -#ifdef __cplusplus -} -#endif +G_END_DECLS + #endif /* __NLD_SEARCH_BAR_H__ */ |