summaryrefslogtreecommitdiff
path: root/capplets
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
parent85a293261fc6a5402ae8de0c0aa32cec9ae0bcf5 (diff)
downloadmate-control-center-4ff8bb86507393e6956d108ee509a6bed8671ac4.tar.bz2
mate-control-center-4ff8bb86507393e6956d108ee509a6bed8671ac4.tar.xz
Missing include guards
Diffstat (limited to 'capplets')
-rw-r--r--capplets/about-me/fingerprint-strings.h4
-rw-r--r--capplets/about-me/mate-about-me-fingerprint.h4
-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
-rw-r--r--capplets/common/gtkrc-utils.h5
-rw-r--r--capplets/display/scrollarea.h6
14 files changed, 68 insertions, 4 deletions
diff --git a/capplets/about-me/fingerprint-strings.h b/capplets/about-me/fingerprint-strings.h
index fa7211d6..49081216 100644
--- a/capplets/about-me/fingerprint-strings.h
+++ b/capplets/about-me/fingerprint-strings.h
@@ -20,6 +20,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __FINGERPRINT_STRINGS_H__
+#define __FINGERPRINT_STRINGS_H__
+
struct {
const char *dbus_name;
const char *place_str;
@@ -83,3 +86,4 @@ static const char *enroll_result_str_to_msg(const char *result, gboolean is_swip
return NULL;
}
+#endif /* __FINGERPRINT_STRINGS_H__ */
diff --git a/capplets/about-me/mate-about-me-fingerprint.h b/capplets/about-me/mate-about-me-fingerprint.h
index d8eda290..bc9b7963 100644
--- a/capplets/about-me/mate-about-me-fingerprint.h
+++ b/capplets/about-me/mate-about-me-fingerprint.h
@@ -17,6 +17,9 @@
* 02110-1301, USA.
*/
+#ifndef __MATE_ABOUT_ME_FINGERPRINT_H__
+#define __MATE_ABOUT_ME_FINGERPRINT_H__
+
#include <gtk/gtk.h>
void set_fingerprint_label (GtkWidget *enable,
@@ -25,3 +28,4 @@ void fingerprint_button_clicked (GtkBuilder *dialog,
GtkWidget *enable,
GtkWidget *disable);
+#endif /* __MATE_ABOUT_ME_FINGERPRINT_H__ */
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__ */
diff --git a/capplets/common/gtkrc-utils.h b/capplets/common/gtkrc-utils.h
index cde00464..3dbe34b0 100644
--- a/capplets/common/gtkrc-utils.h
+++ b/capplets/common/gtkrc-utils.h
@@ -19,7 +19,12 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef __GTKRC_UTILS_H__
+#define __GTKRC_UTILS_H__
+
void gtkrc_get_details (gchar *filename, GSList **engines, GSList **symbolic_colors);
gchar * gtkrc_find_named (const gchar *name);
gchar * gtkrc_get_color_scheme (const gchar *filename);
gchar * gtkrc_get_color_scheme_for_theme (const gchar *theme_name);
+
+#endif /* __GTKRC_UTILS_H__ */
diff --git a/capplets/display/scrollarea.h b/capplets/display/scrollarea.h
index 9c39cc60..1c05d416 100644
--- a/capplets/display/scrollarea.h
+++ b/capplets/display/scrollarea.h
@@ -15,6 +15,10 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
+
+#ifndef __SCROLLAREA_H__
+#define __SCROLLAREA_H__
+
#include <cairo.h>
#include <gtk/gtk.h>
@@ -122,3 +126,5 @@ void foo_scroll_area_begin_auto_scroll (FooScrollArea *scroll_area);
void foo_scroll_area_auto_scroll (FooScrollArea *scroll_area,
FooScrollAreaEvent *event);
void foo_scroll_area_end_auto_scroll (FooScrollArea *scroll_area);
+
+#endif /* __SCROLLAREA_H__ */