summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/about.h5
-rw-r--r--src/fe-gtk/ascii.h5
-rw-r--r--src/fe-gtk/banlist.h7
-rw-r--r--src/fe-gtk/chanlist.h5
-rw-r--r--src/fe-gtk/chanview.h5
-rw-r--r--src/fe-gtk/custom-list.h6
-rw-r--r--src/fe-gtk/editlist.h5
-rw-r--r--src/fe-gtk/fe-gtk.h5
-rw-r--r--src/fe-gtk/fkeys.h5
-rw-r--r--src/fe-gtk/gtkutil.h4
-rw-r--r--src/fe-gtk/joind.h5
-rw-r--r--src/fe-gtk/maingui.h5
-rw-r--r--src/fe-gtk/menu.h5
-rw-r--r--src/fe-gtk/mmx_cmod.h5
-rw-r--r--src/fe-gtk/notifygui.h5
-rw-r--r--src/fe-gtk/palette.h5
-rw-r--r--src/fe-gtk/pixmaps.h5
-rw-r--r--src/fe-gtk/plugin-tray.h5
-rw-r--r--src/fe-gtk/plugingui.h5
-rw-r--r--src/fe-gtk/rawlog.h5
-rw-r--r--src/fe-gtk/search.h5
-rw-r--r--src/fe-gtk/servlistgui.h5
-rw-r--r--src/fe-gtk/setup.h7
-rw-r--r--src/fe-gtk/textgui.h5
-rw-r--r--src/fe-gtk/urlgrab.h5
-rw-r--r--src/fe-gtk/userlistgui.h5
-rw-r--r--src/fe-gtk/xtext.h4
27 files changed, 129 insertions, 9 deletions
diff --git a/src/fe-gtk/about.h b/src/fe-gtk/about.h
index 8a2936d8..b4d5cb34 100644
--- a/src/fe-gtk/about.h
+++ b/src/fe-gtk/about.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_ABOUT_H
+#define HEXCHAT_ABOUT_H
+
 void menu_about (GtkWidget * wid, gpointer sess);
+
+#endif
diff --git a/src/fe-gtk/ascii.h b/src/fe-gtk/ascii.h
index 2f660e77..18d63415 100644
--- a/src/fe-gtk/ascii.h
+++ b/src/fe-gtk/ascii.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_ASCII_H
+#define HEXCHAT_ASCII_H
+
 void ascii_open (void);
+
+#endif
diff --git a/src/fe-gtk/banlist.h b/src/fe-gtk/banlist.h
index 06ab8cac..899ee5e5 100644
--- a/src/fe-gtk/banlist.h
+++ b/src/fe-gtk/banlist.h
@@ -17,8 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#ifndef BANLIST_H
-#define BANLIST_H
+#ifndef HEXCHAT_BANLIST_H
+#define HEXCHAT_BANLIST_H
 
 #include "../common/hexchat.h"
 void banlist_opengui (session *sess);
@@ -72,4 +72,5 @@ typedef struct mode_info_s {
 	int bit;			/* Mask bit, e.g., 1<<MODE_BAN  */
 	void (*tester)(banlist_info *, int);	/* Function returns true to set bit into checkable */
 } mode_info;
-#endif /* BANLIST_H */
+
+#endif /* HEXCHAT_BANLIST_H */
diff --git a/src/fe-gtk/chanlist.h b/src/fe-gtk/chanlist.h
index 123610b5..481beec3 100644
--- a/src/fe-gtk/chanlist.h
+++ b/src/fe-gtk/chanlist.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_CHANLIST_H
+#define HEXCHAT_CHANLIST_H
+
 void chanlist_opengui (server *serv, int do_refresh);
+
+#endif
diff --git a/src/fe-gtk/chanview.h b/src/fe-gtk/chanview.h
index 1891f4a8..a1495b1d 100644
--- a/src/fe-gtk/chanview.h
+++ b/src/fe-gtk/chanview.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_CHANVIEW_H
+#define HEXCHAT_CHANVIEW_H
+
 typedef struct _chanview chanview;
 typedef struct _chan chan;
 
@@ -48,3 +51,5 @@ chan * chan_get_parent (chan *ch);
 #define FOCUS_NEW_ALL 1
 #define FOCUS_NEW_ONLY_ASKED 2
 #define FOCUS_NEW_NONE 0
+
+#endif
diff --git a/src/fe-gtk/custom-list.h b/src/fe-gtk/custom-list.h
index 75e5555a..8ef5fd52 100644
--- a/src/fe-gtk/custom-list.h
+++ b/src/fe-gtk/custom-list.h
@@ -17,8 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#ifndef _custom_list_h_included_
-#define _custom_list_h_included_
+#ifndef HEXCHAT_CUSTOM_LIST_H
+#define HEXCHAT_CUSTOM_LIST_H
 
 #include <gtk/gtk.h>
 
@@ -101,4 +101,4 @@ void custom_list_append (CustomList *, chanlistrow *);
 void custom_list_resort (CustomList *);
 void custom_list_clear (CustomList *);
 
-#endif /* _custom_list_h_included_ */
+#endif /* HEXCHAT_CUSTOM_LIST_H */
diff --git a/src/fe-gtk/editlist.h b/src/fe-gtk/editlist.h
index b24d1e57..5487684b 100644
--- a/src/fe-gtk/editlist.h
+++ b/src/fe-gtk/editlist.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_EDITLIST_H
+#define HEXCHAT_EDITLIST_H
+
 void editlist_gui_open (char *title1, char *title2, GSList * list, char *title, char *wmclass, char *file, char *help);
+
+#endif
diff --git a/src/fe-gtk/fe-gtk.h b/src/fe-gtk/fe-gtk.h
index 18cc3ac7..321e3518 100644
--- a/src/fe-gtk/fe-gtk.h
+++ b/src/fe-gtk/fe-gtk.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_FE_GTK_H
+#define HEXCHAT_FE_GTK_H
+
 #ifdef WIN32
 #include "../../config-win32.h"
 #else
@@ -209,3 +212,5 @@ void SPELL_ENTRY_INSERT (GtkWidget *entry, const char *text, int len, int *pos);
 #define SPELL_ENTRY_SET_POS(e,p) gtk_editable_set_position(GTK_EDITABLE(e),p);
 #define SPELL_ENTRY_INSERT(e,t,l,p) gtk_editable_insert_text(GTK_EDITABLE(e),t,l,p)
 #endif
+
+#endif
diff --git a/src/fe-gtk/fkeys.h b/src/fe-gtk/fkeys.h
index aae25430..621c872c 100644
--- a/src/fe-gtk/fkeys.h
+++ b/src/fe-gtk/fkeys.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_FKEYS_H
+#define HEXCHAT_FKEYS_H
+
 /* These are cp'ed from history.c --AGL */
 #define STATE_SHIFT		GDK_SHIFT_MASK
 #define STATE_ALT		GDK_MOD1_MASK
@@ -31,3 +34,5 @@ void key_dialog_show (void);
 int key_handle_key_press (GtkWidget * wid, GdkEventKey * evt, session *sess);
 int key_action_insert (GtkWidget * wid, GdkEventKey * evt, char *d1, char *d2,
 						 session *sess);
+
+#endif
diff --git a/src/fe-gtk/gtkutil.h b/src/fe-gtk/gtkutil.h
index 9ae79b3f..0c358953 100644
--- a/src/fe-gtk/gtkutil.h
+++ b/src/fe-gtk/gtkutil.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_GTKUTIL_H
+#define HEXCHAT_GTKUTIL_H
+
 #include <gtk/gtktreeview.h>
 #include <gtk/gtktreemodel.h>
 
@@ -57,3 +60,4 @@ gboolean gtkutil_treemodel_string_to_iter (GtkTreeModel *model, gchar *pathstr,
 gboolean gtkutil_treeview_get_selected_iter (GtkTreeView *view, GtkTreeIter *iter_ret);
 gboolean gtkutil_treeview_get_selected (GtkTreeView *view, GtkTreeIter *iter_ret, ...);
 
+#endif
diff --git a/src/fe-gtk/joind.h b/src/fe-gtk/joind.h
index b029ae89..a7f466b9 100644
--- a/src/fe-gtk/joind.h
+++ b/src/fe-gtk/joind.h
@@ -17,5 +17,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_JOIND_H
+#define HEXCHAT_JOIND_H
+
 void joind_open (server *serv);
 void joind_close (server *serv);
+
+#endif
diff --git a/src/fe-gtk/maingui.h b/src/fe-gtk/maingui.h
index ef164048..a35f3684 100644
--- a/src/fe-gtk/maingui.h
+++ b/src/fe-gtk/maingui.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_MAINGUI_H
+#define HEXCHAT_MAINGUI_H
+
 extern GtkStyle *input_style;
 extern GtkWidget *parent_window;
 
@@ -50,3 +53,5 @@ gboolean mg_drag_begin_cb (GtkWidget *widget, GdkDragContext *context, gpointer
 void mg_drag_end_cb (GtkWidget *widget, GdkDragContext *context, gpointer userdata);
 gboolean mg_drag_drop_cb (GtkWidget *widget, GdkDragContext *context, int x, int y, guint time, gpointer user_data);
 gboolean mg_drag_motion_cb (GtkWidget *widget, GdkDragContext *context, int x, int y, guint time, gpointer user_data); 
+
+#endif
diff --git a/src/fe-gtk/menu.h b/src/fe-gtk/menu.h
index 7342e5f9..dfc6fd07 100644
--- a/src/fe-gtk/menu.h
+++ b/src/fe-gtk/menu.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_MENU_H
+#define HEXCHAT_MENU_H
+
 GtkWidget *menu_create_main (void *accel_group, int bar, int away, int toplevel, GtkWidget **menu_widgets);
 void menu_urlmenu (GdkEventButton * event, char *url);
 void menu_chanmenu (session *sess, GdkEventButton * event, char *chan);
@@ -58,3 +61,5 @@ void menu_change_layout (void);
 #if (MENU_ID_NUM < MENU_ID_USERMENU)
 #error MENU_ID_NUM is set wrong
 #endif
+
+#endif
diff --git a/src/fe-gtk/mmx_cmod.h b/src/fe-gtk/mmx_cmod.h
index 185e0651..5b84a4b8 100644
--- a/src/fe-gtk/mmx_cmod.h
+++ b/src/fe-gtk/mmx_cmod.h
@@ -17,7 +17,12 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_MMX_CMOD_H
+#define HEXCHAT_MMX_CMOD_H
+
 void shade_ximage_15_mmx(void *data, int bpl, int w, int h, int rm, int gm, int bm);
 void shade_ximage_16_mmx(void *data, int bpl, int w, int h, int rm, int gm, int bm);
 void shade_ximage_32_mmx(void *data, int bpl, int w, int h, int rm, int gm, int bm);
 int have_mmx (void);
+
+#endif
diff --git a/src/fe-gtk/notifygui.h b/src/fe-gtk/notifygui.h
index e4549c84..6517995c 100644
--- a/src/fe-gtk/notifygui.h
+++ b/src/fe-gtk/notifygui.h
@@ -17,5 +17,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_NOTIFYGUI_H
+#define HEXCHAT_NOTIFYGUI_H
+
 void notify_gui_update (void);
 void notify_opengui (void);
+
+#endif
diff --git a/src/fe-gtk/palette.h b/src/fe-gtk/palette.h
index 76da19f7..6f53c1a7 100644
--- a/src/fe-gtk/palette.h
+++ b/src/fe-gtk/palette.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_PALETTE_H
+#define HEXCHAT_PALETTE_H
+
 extern GdkColor colors[];
 
 #define COL_MARK_FG 32
@@ -33,3 +36,5 @@ extern GdkColor colors[];
 void palette_alloc (GtkWidget * widget);
 void palette_load (void);
 void palette_save (void);
+
+#endif
diff --git a/src/fe-gtk/pixmaps.h b/src/fe-gtk/pixmaps.h
index 3ab045fa..7241fa84 100644
--- a/src/fe-gtk/pixmaps.h
+++ b/src/fe-gtk/pixmaps.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_PIXMAPS_H
+#define HEXCHAT_PIXMAPS_H
+
 extern GdkPixbuf *pix_ulist_voice;
 extern GdkPixbuf *pix_ulist_halfop;
 extern GdkPixbuf *pix_ulist_op;
@@ -38,3 +41,5 @@ extern GdkPixbuf *pix_hexchat;
 
 extern GdkPixmap *pixmap_load_from_file (char *file);
 extern void pixmaps_init (void);
+
+#endif
diff --git a/src/fe-gtk/plugin-tray.h b/src/fe-gtk/plugin-tray.h
index eebb7eef..cb77019a 100644
--- a/src/fe-gtk/plugin-tray.h
+++ b/src/fe-gtk/plugin-tray.h
@@ -17,7 +17,12 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_PLUGIN_TRAY_H
+#define HEXCHAT_PLUGIN_TRAY_H
+
 int tray_plugin_init (void *, char **, char **, char **, char *);
 int tray_plugin_deinit (void *);
 gboolean tray_toggle_visibility (gboolean force_hide);
 void tray_apply_setup (void);
+
+#endif
diff --git a/src/fe-gtk/plugingui.h b/src/fe-gtk/plugingui.h
index 6b748eae..ae079a72 100644
--- a/src/fe-gtk/plugingui.h
+++ b/src/fe-gtk/plugingui.h
@@ -17,5 +17,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_PLUGINGUI_H
+#define HEXCHAT_PLUGINGUI_H
+
 void plugingui_open (void);
 void plugingui_load (void);
+
+#endif
diff --git a/src/fe-gtk/rawlog.h b/src/fe-gtk/rawlog.h
index 371002ea..53c57d42 100644
--- a/src/fe-gtk/rawlog.h
+++ b/src/fe-gtk/rawlog.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_RAWLOG_H
+#define HEXCHAT_RAWLOG_H
+
 void open_rawlog (server *serv);
+
+#endif
diff --git a/src/fe-gtk/search.h b/src/fe-gtk/search.h
index d6568adf..55f8f0b5 100644
--- a/src/fe-gtk/search.h
+++ b/src/fe-gtk/search.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_SEARCH_H
+#define HEXCHAT_SEARCH_H
+
 void search_open (session * sess);
+
+#endif
diff --git a/src/fe-gtk/servlistgui.h b/src/fe-gtk/servlistgui.h
index 3f916eb5..ca176a34 100644
--- a/src/fe-gtk/servlistgui.h
+++ b/src/fe-gtk/servlistgui.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_SERVLISTGUI_H
+#define HEXCHAT_SERVLISTGUI_H
+
 void servlist_autojoinedit (ircnet *net, char *channel, gboolean add);
+
+#endif
diff --git a/src/fe-gtk/setup.h b/src/fe-gtk/setup.h
index c830fbc6..d756b10e 100644
--- a/src/fe-gtk/setup.h
+++ b/src/fe-gtk/setup.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-void setup_apply_real (int new_pix, int do_ulist, int do_layout);
\ No newline at end of file
+#ifndef HEXCHAT_SETUP_H
+#define HEXCHAT_SETUP_H
+
+void setup_apply_real (int new_pix, int do_ulist, int do_layout);
+
+#endif
diff --git a/src/fe-gtk/textgui.h b/src/fe-gtk/textgui.h
index 189bca79..6d9a3a23 100644
--- a/src/fe-gtk/textgui.h
+++ b/src/fe-gtk/textgui.h
@@ -17,5 +17,10 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_TEXTGUI_H
+#define HEXCHAT_TEXTGUI_H
+
 void PrintTextRaw (void *xtbuf, unsigned char *text, int indent, time_t stamp);
 void pevent_dialog_show (void);
+
+#endif
diff --git a/src/fe-gtk/urlgrab.h b/src/fe-gtk/urlgrab.h
index 6d962d0f..246b56e7 100644
--- a/src/fe-gtk/urlgrab.h
+++ b/src/fe-gtk/urlgrab.h
@@ -17,4 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_URLGRAB_H
+#define HEXCHAT_URLGRAB_H
+
 void url_opengui (void);
+
+#endif
diff --git a/src/fe-gtk/userlistgui.h b/src/fe-gtk/userlistgui.h
index 89b08676..993fe8f0 100644
--- a/src/fe-gtk/userlistgui.h
+++ b/src/fe-gtk/userlistgui.h
@@ -17,6 +17,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef HEXCHAT_USERLISTGUI_H
+#define HEXCHAT_USERLISTGUI_H
+
 void userlist_set_value (GtkWidget *treeview, gfloat val);
 gfloat userlist_get_value (GtkWidget *treeview);
 GtkWidget *userlist_create (GtkWidget *box);
@@ -25,3 +28,5 @@ void userlist_show (session *sess);
 void userlist_select (session *sess, char *name);
 char **userlist_selection_list (GtkWidget *widget, int *num_ret);
 GdkPixbuf *get_user_icon (server *serv, struct User *user);
+
+#endif
diff --git a/src/fe-gtk/xtext.h b/src/fe-gtk/xtext.h
index 74fbdffe..1ba3483a 100644
--- a/src/fe-gtk/xtext.h
+++ b/src/fe-gtk/xtext.h
@@ -17,8 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#ifndef __XTEXT_H__
-#define __XTEXT_H__
+#ifndef HEXCHAT_XTEXT_H
+#define HEXCHAT_XTEXT_H
 
 #include <gtk/gtkadjustment.h>
 #ifdef USE_XFT