summaryrefslogtreecommitdiff
path: root/capplets/appearance
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-22 13:46:51 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2021-02-24 16:02:00 +0100
commit4ff8bb86507393e6956d108ee509a6bed8671ac4 (patch)
treee1355c7f44acbfaa0d0434e782c351b1f6ced5c5 /capplets/appearance
parent85a293261fc6a5402ae8de0c0aa32cec9ae0bcf5 (diff)
downloadmate-control-center-4ff8bb86507393e6956d108ee509a6bed8671ac4.tar.bz2
mate-control-center-4ff8bb86507393e6956d108ee509a6bed8671ac4.tar.xz
Missing include guards
Diffstat (limited to 'capplets/appearance')
-rw-r--r--capplets/appearance/appearance-desktop.h5
-rw-r--r--capplets/appearance/appearance-font.h5
-rw-r--r--capplets/appearance/appearance-style.h5
-rw-r--r--capplets/appearance/appearance-support.h5
-rw-r--r--capplets/appearance/appearance-themes.h5
-rw-r--r--capplets/appearance/appearance-ui.h5
-rw-r--r--capplets/appearance/appearance.h5
-rw-r--r--capplets/appearance/mate-wp-item.h8
-rw-r--r--capplets/appearance/theme-save.h5
-rw-r--r--capplets/appearance/theme-util.h5
10 files changed, 49 insertions, 4 deletions
diff --git a/capplets/appearance/appearance-desktop.h b/capplets/appearance/appearance-desktop.h
index bae38499..294d9b64 100644
--- a/capplets/appearance/appearance-desktop.h
+++ b/capplets/appearance/appearance-desktop.h
@@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_DESKTOP_H__
+#define __APPEARANCE_DESKTOP_H__
+
void desktop_init (AppearanceData *data, const gchar **uris);
void desktop_shutdown (AppearanceData *data);
+
+#endif /* __APPEARANCE_DESKTOP_H__ */
diff --git a/capplets/appearance/appearance-font.h b/capplets/appearance/appearance-font.h
index 995aa328..463a35df 100644
--- a/capplets/appearance/appearance-font.h
+++ b/capplets/appearance/appearance-font.h
@@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_FONT_H__
+#define __APPEARANCE_FONT_H__
+
void font_init(AppearanceData* data);
void font_shutdown(AppearanceData* data);
+
+#endif /* __APPEARANCE_FONT_H__ */
diff --git a/capplets/appearance/appearance-style.h b/capplets/appearance/appearance-style.h
index 83f147ca..3cac094c 100644
--- a/capplets/appearance/appearance-style.h
+++ b/capplets/appearance/appearance-style.h
@@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_STYLE_H__
+#define __APPEARANCE_STYLE_H__
+
void style_init (AppearanceData *data);
void style_shutdown (AppearanceData *data);
+
+#endif /* __APPEARANCE_STYLE_H__ */
diff --git a/capplets/appearance/appearance-support.h b/capplets/appearance/appearance-support.h
index 71f6f2a8..42a21949 100644
--- a/capplets/appearance/appearance-support.h
+++ b/capplets/appearance/appearance-support.h
@@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_SUPPORT_H__
+#define __APPEARANCE_SUPPORT_H__
+
void support_init(AppearanceData* data);
void support_shutdown(AppearanceData* data);
+
+#endif /* __APPEARANCE_SUPPORT_H__ */
diff --git a/capplets/appearance/appearance-themes.h b/capplets/appearance/appearance-themes.h
index c5a0b510..5dd3d8be 100644
--- a/capplets/appearance/appearance-themes.h
+++ b/capplets/appearance/appearance-themes.h
@@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_THEMES_H__
+#define __APPEARANCE_THEMES_H__
+
void themes_init(AppearanceData* data);
void themes_shutdown(AppearanceData* data);
+
+#endif /* __APPEARANCE_THEMES_H__ */
diff --git a/capplets/appearance/appearance-ui.h b/capplets/appearance/appearance-ui.h
index 5817a735..ab99c997 100644
--- a/capplets/appearance/appearance-ui.h
+++ b/capplets/appearance/appearance-ui.h
@@ -18,4 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_UI_H__
+#define __APPEARANCE_UI_H__
+
void ui_init (AppearanceData *data);
+
+#endif /* __APPEARANCE_UI_H__ */
diff --git a/capplets/appearance/appearance.h b/capplets/appearance/appearance.h
index 779904cf..b92cf19c 100644
--- a/capplets/appearance/appearance.h
+++ b/capplets/appearance/appearance.h
@@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __APPEARANCE_H__
+#define __APPEARANCE_H__
+
#include "config.h"
#include <glib.h>
@@ -144,3 +147,5 @@ typedef struct {
#define appearance_capplet_get_widget(x, y) (GtkWidget*) gtk_builder_get_object(x->ui, y)
#define GET_WINDOW(x) (GTK_WINDOW (gtk_builder_get_object (data->ui, (x))))
+
+#endif /* __APPEARANCE_H__ */
diff --git a/capplets/appearance/mate-wp-item.h b/capplets/appearance/mate-wp-item.h
index 0f04081b..0512f1f1 100644
--- a/capplets/appearance/mate-wp-item.h
+++ b/capplets/appearance/mate-wp-item.h
@@ -18,6 +18,9 @@
*
*/
+#ifndef __MATE_WP_ITEM_H__
+#define __MATE_WP_ITEM_H__
+
#include <glib.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@@ -27,9 +30,6 @@
#include "mate-wp-info.h"
-#ifndef _MATE_WP_ITEM_H_
-#define _MATE_WP_ITEM_H_
-
typedef struct _MateWPItem MateWPItem;
struct _MateWPItem {
@@ -84,4 +84,4 @@ const gchar *wp_item_shading_to_string (MateBGColorType type);
MateBGPlacement wp_item_string_to_option (const gchar *option);
MateBGColorType wp_item_string_to_shading (const gchar *shade_type);
-#endif
+#endif /* __MATE_WP_ITEM_H__ */ \ No newline at end of file
diff --git a/capplets/appearance/theme-save.h b/capplets/appearance/theme-save.h
index 5ca2ff06..b70abe7a 100644
--- a/capplets/appearance/theme-save.h
+++ b/capplets/appearance/theme-save.h
@@ -18,5 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __THEME_SAVE_H__
+#define __THEME_SAVE_H__
+
void theme_save_dialog_run (MateThemeMetaInfo *theme_info,
AppearanceData *data);
+
+#endif /* __THEME_SAVE_H__ */
diff --git a/capplets/appearance/theme-util.h b/capplets/appearance/theme-util.h
index dda9f468..33cec7fc 100644
--- a/capplets/appearance/theme-util.h
+++ b/capplets/appearance/theme-util.h
@@ -18,6 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __THEME_UTIL_H__
+#define __THEME_UTIL_H__
+
enum {
COL_THUMBNAIL,
COL_LABEL,
@@ -41,3 +44,5 @@ gboolean theme_find_in_model(GtkTreeModel* model, const gchar* name, GtkTreeIter
void theme_install_file(GtkWindow* parent, const gchar* path);
gboolean packagekit_available(void);
+
+#endif /* __THEME_UTIL_H__ */