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/nameplate-tile.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/nameplate-tile.h')
-rw-r--r-- | libslab/nameplate-tile.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libslab/nameplate-tile.h b/libslab/nameplate-tile.h index 8e8d0cff..d51ff40f 100644 --- a/libslab/nameplate-tile.h +++ b/libslab/nameplate-tile.h @@ -23,11 +23,10 @@ #include "tile.h" +#include <glib.h> #include <gtk/gtk.h> -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define NAMEPLATE_TILE_TYPE (nameplate_tile_get_type ()) #define NAMEPLATE_TILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), NAMEPLATE_TILE_TYPE, NameplateTile)) @@ -53,7 +52,6 @@ GType nameplate_tile_get_type (void); GtkWidget *nameplate_tile_new (const gchar * uri, GtkWidget * image, GtkWidget * header, GtkWidget * subheader); -#ifdef __cplusplus -} -#endif -#endif +G_END_DECLS + +#endif /* __NAMEPLATE_TILE_H__ */ |