summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-10-26 11:52:22 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-10-26 11:52:22 +0000
commitcafd93dcdd0cd5b2cd7be6b58ae04fc188a79410 (patch)
tree2242aaccfd6be03cb71d5bf859a00a4658949757 /src/gui
parent6d6eafa82a7fcbcd81341fbd0160f0843551032f (diff)
downloadweechat-cafd93dcdd0cd5b2cd7be6b58ae04fc188a79410.zip
Code cleanup
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index b1584f05e..0604f0877 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -65,13 +65,6 @@
#define WIN_IS_CHANNEL(window) (CHANNEL(window) && (CHANNEL(window)->type == CHAT_CHANNEL))
#define WIN_IS_PRIVATE(window) (CHANNEL(window) && (CHANNEL(window)->type == CHAT_PRIVATE))
-#ifdef WEE_CURSES
- //#define WIN_HAS_NICKLIST(window) (window->win_nick)
-#endif
-#ifdef WEE_GTK
- //#define WIN_HAS_NICKLIST(window) (window->textbuffer_nicklist)
-#endif
-
#define MSG_TYPE_TIME 0
#define MSG_TYPE_NICK 1
#define MSG_TYPE_INFO 2
@@ -149,16 +142,11 @@ struct t_gui_window
void *win_input; /* input window */
/* windows for Curses GUI */
- //GtkWidget *textview_chat; /* textview widget for chat */
- //GtkTextBuffer *textbuffer_chat; /* textbuffer widget for chat */
- //GtkTextTag *texttag_chat; /* texttag widget for chat */
- //GtkWidget *textview_nicklist; /* textview widget for nicklist */
- //GtkTextBuffer *textbuffer_nicklist; /* textbuffer widget for nicklist */
- void *textview_chat; /* textview widget for chat */
- void *textbuffer_chat; /* textbuffer widget for chat */
- void *texttag_chat; /* texttag widget for chat */
- void *textview_nicklist; /* textview widget for nicklist */
- void *textbuffer_nicklist; /* textbuffer widget for nicklist */
+ void *textview_chat; /* textview widget for chat */
+ void *textbuffer_chat; /* textbuffer widget for chat */
+ void *texttag_chat; /* texttag widget for chat */
+ void *textview_nicklist; /* textview widget for nicklist */
+ void *textbuffer_nicklist; /* textbuffer widget for nicklist */
/* windows for Curses GUI */
/* TODO: declare Qt window */