summaryrefslogtreecommitdiff
path: root/src/gui/gtk/gui-gtk-nicklist.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-10-31 17:19:41 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-10-31 17:19:41 +0100
commit7f90ccd2ad8dc4be4ed0b6471ad8c4315784e334 (patch)
treebbcdc2facc24e917270a20539cd16dc18611151d /src/gui/gtk/gui-gtk-nicklist.c
parent140623a314260dc77134fe63c3f13db05eb4b20f (diff)
downloadweechat-7f90ccd2ad8dc4be4ed0b6471ad8c4315784e334.zip
Renamed many sources and functions in src/gui, improved display of messages in buffer (faster and using less memory)
Diffstat (limited to 'src/gui/gtk/gui-gtk-nicklist.c')
-rw-r--r--src/gui/gtk/gui-gtk-nicklist.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/gui/gtk/gui-gtk-nicklist.c b/src/gui/gtk/gui-gtk-nicklist.c
index a1f597cf5..bcb1d61bd 100644
--- a/src/gui/gtk/gui-gtk-nicklist.c
+++ b/src/gui/gtk/gui-gtk-nicklist.c
@@ -23,10 +23,9 @@
#include "config.h"
#endif
-#include "../../common/weechat.h"
-#include "../gui.h"
-#include "../../common/weeconfig.h"
-#include "../../protocols/irc/irc.h"
+#include "../../core/weechat.h"
+#include "../../core/wee-config.h"
+#include "../gui-nicklist.h"
#include "gui-gtk.h"
@@ -35,18 +34,9 @@
*/
void
-gui_nicklist_draw (t_gui_buffer *buffer, int erase, int calculate_size)
+gui_nicklist_draw (struct t_gui_buffer *buffer, int erase)
{
- /*t_gui_window *ptr_win;
- int i, j, x, y, column, max_length, nicks_displayed;
- char format[32], format_empty[32];
- t_irc_nick *ptr_nick;*/
-
- if (!gui_ok || !GUI_BUFFER_HAS_NICKLIST(buffer))
- return;
-
/* TODO: write this function for Gtk */
(void) buffer;
(void) erase;
- (void) calculate_size;
}