From e62ec5204c7061a83860fa6c6c8204414a2dd057 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 14 Dec 2007 17:01:02 +0100 Subject: Improved main loop (less CPU usage), better precision for timers, use of one list by hook type (for fast search in hooks) --- src/gui/gtk/gui-gtk-infobar.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'src/gui/gtk/gui-gtk-infobar.c') diff --git a/src/gui/gtk/gui-gtk-infobar.c b/src/gui/gtk/gui-gtk-infobar.c index b6bcafd33..4cbc5889e 100644 --- a/src/gui/gtk/gui-gtk-infobar.c +++ b/src/gui/gtk/gui-gtk-infobar.c @@ -28,6 +28,7 @@ #include "../../core/weechat.h" #include "../../core/wee-config.h" +#include "../../plugins/plugin.h" #include "../gui-infobar.h" #include "../gui-window.h" #include "gui-gtk.h" @@ -76,3 +77,29 @@ gui_infobar_draw (struct t_gui_buffer *buffer, int erase) (void) buffer; (void) erase; } + +/* + * gui_infobar_refresh_timer_cb: timer callback for refresh of infobar + */ + +int +gui_infobar_refresh_timer_cb (void *data) +{ + /* make C compiler happy */ + (void) data; + + return WEECHAT_RC_OK; +} + +/* + * gui_infobar_highlight_timer_cb: timer callback for highlights in infobar + */ + +int +gui_infobar_highlight_timer_cb (void *data) +{ + /* make C compiler happy */ + (void) data; + + return WEECHAT_RC_OK; +} -- cgit v1.2.3