Remove double underscores around header guards (closes #3440258)

While this is a violation of the C standard in theory, it should not affect anything.
Anyway, removing the double underscores makes the header guard scheme more
consistent with the rest of Geany header files so it's still a good thing.
This commit is contained in:
Enrico Tröger 2011-11-20 13:31:07 +01:00
parent 03152902a9
commit 7edcb7978f
4 changed files with 12 additions and 12 deletions

View File

@ -20,8 +20,8 @@
*/
#ifndef __GEANY_ENTRY_ACTION_H__
#define __GEANY_ENTRY_ACTION_H__
#ifndef GEANY_ENTRY_ACTION_H
#define GEANY_ENTRY_ACTION_H
G_BEGIN_DECLS
@ -60,4 +60,4 @@ GtkWidget* geany_entry_action_get_menu (GeanyEntryAction *action);
G_END_DECLS
#endif /* __GEANY_ENTRY_ACTION_H__ */
#endif /* GEANY_ENTRY_ACTION_H */

View File

@ -20,8 +20,8 @@
*/
#ifndef __GEANY_MENU_BUTTON_ACTION_H__
#define __GEANY_MENU_BUTTON_ACTION_H__
#ifndef GEANY_MENU_BUTTON_ACTION_H
#define GEANY_MENU_BUTTON_ACTION_H
G_BEGIN_DECLS
@ -63,4 +63,4 @@ void geany_menu_button_action_set_menu (GeanyMenubuttonAction *action, GtkWidge
G_END_DECLS
#endif /* __GEANY_MENU_BUTTON_ACTION_H__ */
#endif /* GEANY_MENU_BUTTON_ACTION_H */

View File

@ -21,8 +21,8 @@
*/
#ifndef __GEANYOBJECT_H__
#define __GEANYOBJECT_H__
#ifndef GEANYOBJECT_H
#define GEANYOBJECT_H
#include <glib-object.h>
@ -105,4 +105,4 @@ GObject* geany_object_new (void);
G_END_DECLS
#endif /* __GEANYOBJECT_H__ */
#endif /* GEANYOBJECT_H */

View File

@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __GEANY_WRAP_LABEL_H__
#define __GEANY_WRAP_LABEL_H__
#ifndef GEANY_WRAP_LABEL_H
#define GEANY_WRAP_LABEL_H
G_BEGIN_DECLS
@ -45,4 +45,4 @@ GtkWidget* geany_wrap_label_new (const gchar *text);
G_END_DECLS
#endif /* __GEANY_WRAP_LABEL_H__ */
#endif /* GEANY_WRAP_LABEL_H */