diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-14 17:01:02 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-14 17:01:02 +0100 |
commit | e62ec5204c7061a83860fa6c6c8204414a2dd057 (patch) | |
tree | 122d8931668748e0bb445d7378be050ebcf22801 /src/gui/gtk/gui-gtk-infobar.c | |
parent | 70e44d3c548c9c6856f0fd0d07c22df88817273b (diff) | |
download | weechat-e62ec5204c7061a83860fa6c6c8204414a2dd057.zip |
Improved main loop (less CPU usage), better precision for timers, use of one list by hook type (for fast search in hooks)
Diffstat (limited to 'src/gui/gtk/gui-gtk-infobar.c')
-rw-r--r-- | src/gui/gtk/gui-gtk-infobar.c | 27 |
1 files changed, 27 insertions, 0 deletions
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; +} |