summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-03 12:44:34 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-03 12:44:34 (EDT)
commit4272897568afe7a094160c79d6b8a5a2042e9220 (patch)
treeb64abcfbaa31faad1450c2752a8f0fb28ee69922 /src/utils
parent9bc91995f647eccec8e6758723e1f700877fc3f7 (diff)
downloadmarquee-4272897568afe7a094160c79d6b8a5a2042e9220.zip
marquee-4272897568afe7a094160c79d6b8a5a2042e9220.tar.gz
marquee-4272897568afe7a094160c79d6b8a5a2042e9220.tar.bz2
src/utils/*.h: Add/update include guards
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/html.h6
-rw-r--r--src/utils/profile-icon.h5
-rw-r--r--src/utils/resources.h5
-rw-r--r--src/utils/string.h6
-rw-r--r--src/utils/svg.h5
5 files changed, 21 insertions, 6 deletions
diff --git a/src/utils/html.h b/src/utils/html.h
index 92fe2ea..e8b9c16 100644
--- a/src/utils/html.h
+++ b/src/utils/html.h
@@ -19,8 +19,8 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MQ_HTML_H
-#define MQ_HTML_H
+#ifndef MQ_UTILS_HTML_H
+#define MQ_UTILS_HTML_H
#include <glib.h>
@@ -85,4 +85,4 @@ mq_html_input_select(const gchar *name, const gchar *label,
gchar *
mq_html_input_iframe(const gchar *src);
-#endif
+#endif /* MQ_UTILS_HTML_H */
diff --git a/src/utils/profile-icon.h b/src/utils/profile-icon.h
index 806a0b9..b18a71f 100644
--- a/src/utils/profile-icon.h
+++ b/src/utils/profile-icon.h
@@ -19,7 +19,12 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef MQ_UTILS_PROFILE_ICON_H
+#define MQ_UTILS_PROFILE_ICON_H
+
#include <glib.h>
gchar *
mq_profile_icon_new(const gchar *color);
+
+#endif /* MQ_UTILS_PROFILE_ICON_H */
diff --git a/src/utils/resources.h b/src/utils/resources.h
index e545dc1..3d7d4a5 100644
--- a/src/utils/resources.h
+++ b/src/utils/resources.h
@@ -19,6 +19,9 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef MQ_UTILS_RESOURCES_H
+#define MQ_UTILS_RESOURCES_H
+
#include <webkit2/webkit2.h>
#include "../application.h"
@@ -26,3 +29,5 @@
void
mq_resource_response(MqApplication *application, const gchar *path,
WebKitURISchemeRequest *request);
+
+#endif /* MQ_UTILS_RESOURCES_H */
diff --git a/src/utils/string.h b/src/utils/string.h
index 19e0b43..bf95af5 100644
--- a/src/utils/string.h
+++ b/src/utils/string.h
@@ -19,8 +19,8 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef MQ_STRING_UTILITIES_H
-#define MQ_STRING_UTILITIES_H
+#ifndef MQ_UTILS_STRING_H
+#define MQ_UTILS_STRING_H
#include <glib.h>
@@ -34,4 +34,4 @@ mq_parse_query_string(gchar *str);
G_END_DECLS
-#endif /* MQ_STRING_UTILITIES_H */
+#endif /* MQ_UTILS_STRING_H */
diff --git a/src/utils/svg.h b/src/utils/svg.h
index b0c2c4d..9161708 100644
--- a/src/utils/svg.h
+++ b/src/utils/svg.h
@@ -19,6 +19,9 @@
* along with Marquee. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef MQ_UTILS_SVG_H
+#define MQ_UTILS_SVG_H
+
#include <glib.h>
gboolean
@@ -26,3 +29,5 @@ mq_svg_is_color_valid(const gchar *color) G_GNUC_PURE;
gchar *
mq_svg_set_color(const gchar *svg, const gchar *color);
+
+#endif /* MQ_UTILS_SVG_H */