summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-06 20:30:31 +0200
committerraveit65 <[email protected]>2020-07-13 14:47:30 +0200
commit01e8f8a09ab273719bdf0869f9f8693cb45d302e (patch)
tree524ba0099e8991a760dad9aa303adcb806ca811a
parent31375efa710b751f4a64fab47309d6e35560befb (diff)
downloadmate-applets-01e8f8a09ab273719bdf0869f9f8693cb45d302e.tar.bz2
mate-applets-01e8f8a09ab273719bdf0869f9f8693cb45d302e.tar.xz
Guard block is missing
-rw-r--r--battstat/apmlib/apm.h5
-rw-r--r--charpick/charpick.h5
-rw-r--r--stickynotes/stickynotes_applet_callbacks.h6
3 files changed, 13 insertions, 3 deletions
diff --git a/battstat/apmlib/apm.h b/battstat/apmlib/apm.h
index c24041c2..fd1f6eb6 100644
--- a/battstat/apmlib/apm.h
+++ b/battstat/apmlib/apm.h
@@ -20,6 +20,9 @@
* $Id$
*
*/
+#ifndef __APM_H__
+#define __APM_H__
+
#include <linux/apm_bios.h>
#include <sys/types.h>
@@ -75,3 +78,5 @@ extern const char *apm_time_nosec(time_t t);
#ifdef APM_IOC_REJECT
#define APM_REJECT_ENABLED
#endif
+
+#endif /* __APM_H__ */
diff --git a/charpick/charpick.h b/charpick/charpick.h
index 939556ba..57e44b27 100644
--- a/charpick/charpick.h
+++ b/charpick/charpick.h
@@ -1,5 +1,8 @@
/* charpick.h -- header file for character picker applet */
+#ifndef __CHARPICK_H__
+#define __CHARPICK_H__
+
#include <glib.h>
#include <glib/gi18n.h>
#include <gtk/gtk.h>
@@ -59,3 +62,5 @@ void set_atk_name_description (GtkWidget *widget,
const char *description);
gboolean key_writable (MatePanelApplet *applet, const char *key);
+
+#endif /* __CHARPICK_H__ */
diff --git a/stickynotes/stickynotes_applet_callbacks.h b/stickynotes/stickynotes_applet_callbacks.h
index 7cee63da..3e8603de 100644
--- a/stickynotes/stickynotes_applet_callbacks.h
+++ b/stickynotes/stickynotes_applet_callbacks.h
@@ -17,11 +17,11 @@
* 02110-1301, USA.
*/
-#include <stickynotes_applet.h>
-
#ifndef __STICKYNOTES_APPLET_CALLBACKS_H__
#define __STICKYNOTES_APPLET_CALLBACKS_H__
+#include <stickynotes_applet.h>
+
/* Callbacks for the sticky notes applet */
gboolean applet_button_cb(GtkWidget *widget, GdkEventButton *event, StickyNotesApplet *applet);
gboolean applet_key_cb(GtkWidget *widget, GdkEventKey *event, StickyNotesApplet *applet);
@@ -49,4 +49,4 @@ void preferences_apply_cb(GSettings *settings, gchar *key, gpointer data);
void preferences_response_cb(GtkWidget *dialog, gint response, gpointer data);
gboolean preferences_delete_cb(GtkWidget *widget, GdkEvent *event, gpointer data);
-#endif /* __STICKYNOTES_APPLET_CALLBACKS_H__ */
+#endif /* __STICKYNOTES_APPLET_CALLBACKS_H__ */ \ No newline at end of file