diff options
author | rbuj <[email protected]> | 2020-07-06 21:22:18 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-21 11:46:03 +0200 |
commit | afc16dca546862ff7e19c5bb49568486615b857e (patch) | |
tree | aab8cf6eedeb929cac33684bc8fc9330bf105317 | |
parent | 9f2c966a28fd54fe3fcd8ae4d9330270e7673051 (diff) | |
download | caja-afc16dca546862ff7e19c5bb49568486615b857e.tar.bz2 caja-afc16dca546862ff7e19c5bb49568486615b857e.tar.xz |
Guard block is missing
-rw-r--r-- | eel/eel-lib-self-check-functions.h | 6 | ||||
-rw-r--r-- | libcaja-private/caja-directory-background.h | 6 | ||||
-rw-r--r-- | libcaja-private/caja-directory-notify.h | 6 | ||||
-rw-r--r-- | libcaja-private/caja-directory-private.h | 6 | ||||
-rw-r--r-- | libcaja-private/caja-emblem-utils.h | 6 | ||||
-rw-r--r-- | libcaja-private/caja-lib-self-check-functions.h | 6 | ||||
-rw-r--r-- | src/caja-self-check-functions.h | 6 | ||||
-rw-r--r-- | src/file-manager/caja-audio-mime-types.h | 6 |
8 files changed, 48 insertions, 0 deletions
diff --git a/eel/eel-lib-self-check-functions.h b/eel/eel-lib-self-check-functions.h index 00c5b028..fd404b1a 100644 --- a/eel/eel-lib-self-check-functions.h +++ b/eel/eel-lib-self-check-functions.h @@ -23,6 +23,9 @@ Author: Darin Adler <[email protected]> */ +#ifndef __EEL_LIB_SELF_CHECK_FUNCTIONS_H__ +#define __EEL_LIB_SELF_CHECK_FUNCTIONS_H__ + #include "eel-self-checks.h" void eel_run_lib_self_checks (void); @@ -47,3 +50,6 @@ void eel_run_lib_self_checks (void); /* Generate prototypes for all the functions. */ EEL_LIB_FOR_EACH_SELF_CHECK_FUNCTION (EEL_SELF_CHECK_FUNCTION_PROTOTYPE) + +#endif /* __EEL_LIB_SELF_CHECK_FUNCTIONS_H__ */ + diff --git a/libcaja-private/caja-directory-background.h b/libcaja-private/caja-directory-background.h index 64151073..396e08dd 100644 --- a/libcaja-private/caja-directory-background.h +++ b/libcaja-private/caja-directory-background.h @@ -26,6 +26,9 @@ Jasmine Hassan <[email protected]> */ +#ifndef __CAJA_DIRECTORY_BACKGROUND_H__ +#define __CAJA_DIRECTORY_BACKGROUND_H__ + #include <eel/eel-background.h> #include "caja-file.h" @@ -36,3 +39,6 @@ void caja_connect_background_to_file_metadata (GtkWidget *widget, GdkDragAction default_drag_action); void caja_connect_desktop_background_to_settings (CajaIconContainer *icon_container); + +#endif /* __CAJA_DIRECTORY_BACKGROUND_H__ */ + diff --git a/libcaja-private/caja-directory-notify.h b/libcaja-private/caja-directory-notify.h index dabf35e5..41c45b49 100644 --- a/libcaja-private/caja-directory-notify.h +++ b/libcaja-private/caja-directory-notify.h @@ -22,6 +22,9 @@ Author: Darin Adler <[email protected]> */ +#ifndef __CAJA_DIRECTORY_NOTIFY_H__ +#define __CAJA_DIRECTORY_NOTIFY_H__ + #include <gdk/gdk.h> #include "caja-file.h" @@ -67,3 +70,6 @@ void caja_directory_schedule_position_set (GList *position_setting_lis * it needs to be used for code like the thumbnail generation. */ void caja_file_changed (CajaFile *file); + +#endif /* __CAJA_DIRECTORY_NOTIFY_H__ */ + diff --git a/libcaja-private/caja-directory-private.h b/libcaja-private/caja-directory-private.h index bff30b6b..51b18854 100644 --- a/libcaja-private/caja-directory-private.h +++ b/libcaja-private/caja-directory-private.h @@ -22,6 +22,9 @@ Author: Darin Adler <[email protected]> */ +#ifndef __CAJA_DIRECTORY_PRIVATE_H__ +#define __CAJA_DIRECTORY_PRIVATE_H__ + #include <gio/gio.h> #include <libxml/tree.h> @@ -238,3 +241,6 @@ void caja_directory_remove_file_from_work_queue (CajaDirectory /* debugging functions */ int caja_directory_number_outstanding (void); + +#endif /* __CAJA_DIRECTORY_PRIVATE_H__ */ + diff --git a/libcaja-private/caja-emblem-utils.h b/libcaja-private/caja-emblem-utils.h index cdc4e677..c524a4f9 100644 --- a/libcaja-private/caja-emblem-utils.h +++ b/libcaja-private/caja-emblem-utils.h @@ -22,6 +22,9 @@ Author: Alexander Larsson <[email protected]> */ +#ifndef __CAJA_EMBLEM_UTILS_H__ +#define __CAJA_EMBLEM_UTILS_H__ + #include <glib.h> #include <gio/gio.h> #include <gtk/gtk.h> @@ -51,3 +54,6 @@ gboolean caja_emblem_can_rename_emblem (const char *keyword); char * caja_emblem_create_unique_keyword (const char *base); + +#endif /* __CAJA_EMBLEM_UTILS_H__ */ + diff --git a/libcaja-private/caja-lib-self-check-functions.h b/libcaja-private/caja-lib-self-check-functions.h index 4fa973e3..cddc2132 100644 --- a/libcaja-private/caja-lib-self-check-functions.h +++ b/libcaja-private/caja-lib-self-check-functions.h @@ -23,6 +23,9 @@ Author: Darin Adler <[email protected]> */ +#ifndef __CAJA_LIB_SELF_CHECK_FUNCTIONS_H__ +#define __CAJA_LIB_SELF_CHECK_FUNCTIONS_H__ + #include <eel/eel-self-checks.h> void caja_run_lib_self_checks (void); @@ -48,3 +51,6 @@ void caja_run_lib_self_checks (void); /* Generate prototypes for all the functions. */ CAJA_LIB_FOR_EACH_SELF_CHECK_FUNCTION (EEL_SELF_CHECK_FUNCTION_PROTOTYPE) + +#endif /* __CAJA_LIB_SELF_CHECK_FUNCTIONS_H__ */ + diff --git a/src/caja-self-check-functions.h b/src/caja-self-check-functions.h index 398999bf..ec503943 100644 --- a/src/caja-self-check-functions.h +++ b/src/caja-self-check-functions.h @@ -27,6 +27,9 @@ */ +#ifndef __CAJA_SELF_CHECK_FUNCTIONS_H__ +#define __CAJA_SELF_CHECK_FUNCTIONS_H__ + void caja_run_self_checks (void); /* Putting the prototypes for these self-check functions in each @@ -45,3 +48,6 @@ void caja_run_self_checks (void); /* Generate prototypes for all the functions. */ CAJA_FOR_EACH_SELF_CHECK_FUNCTION (CAJA_SELF_CHECK_FUNCTION_PROTOTYPE) + +#endif /* __CAJA_SELF_CHECK_FUNCTIONS_H__ */ + diff --git a/src/file-manager/caja-audio-mime-types.h b/src/file-manager/caja-audio-mime-types.h index 7b3d516c..998fc4ba 100644 --- a/src/file-manager/caja-audio-mime-types.h +++ b/src/file-manager/caja-audio-mime-types.h @@ -1,4 +1,7 @@ /* See https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/media-types.html?gi-language=c#table-of-audio-types */ +#ifndef __CAJA_AUDIO_MIME_TYPES_H__ +#define __CAJA_AUDIO_MIME_TYPES_H__ + static const char* audio_mime_types[] = { "audio/3gpp", @@ -43,3 +46,6 @@ static const char* audio_mime_types[] = "audio/x-xm", "application/x-flac", }; + +#endif /* __CAJA_AUDIO_MIME_TYPES_H__ */ + |