/[weechat]/weechat/src/gui/gtk/gui-display.c
ViewVC logotype

Diff of /weechat/src/gui/gtk/gui-display.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by flashcode, Mon Oct 13 21:51:36 2003 UTC revision 1.4 by flashcode, Sat Oct 25 14:49:19 2003 UTC
# Line 29  Line 29 
29  #include <string.h>  #include <string.h>
30  #include <signal.h>  #include <signal.h>
31  #include <time.h>  #include <time.h>
32    #include <gtk/gtk.h>
33    
34  #include "../../weechat.h"  #include "../../common/weechat.h"
35  #include "../gui.h"  #include "../gui.h"
36  #include "../../config.h"  #include "../../common/config.h"
37  #include "../../irc/irc.h"  #include "../../irc/irc.h"
38    
39    
# Line 144  gui_get_color_by_value (int color_value) Line 145  gui_get_color_by_value (int color_value)
145  }  }
146    
147  /*  /*
148     * gui_window_has_nicklist: returns 1 if window has nicklist
149     */
150    
151    int
152    gui_window_has_nicklist (t_gui_window *window)
153    {
154        return (window->textbuffer_nicklist != NULL);
155    }
156    
157    /*
158   * gui_calculate_pos_size: calculate position and size for a window & sub-win   * gui_calculate_pos_size: calculate position and size for a window & sub-win
159   */   */
160    
# Line 379  gui_redraw_window (t_gui_window *window) Line 390  gui_redraw_window (t_gui_window *window)
390            
391      gui_redraw_window_title (window);      gui_redraw_window_title (window);
392      gui_redraw_window_chat (window);      gui_redraw_window_chat (window);
393      if (WIN_HAS_NICKLIST(window))      if (gui_window_has_nicklist (window))
394          gui_redraw_window_nick (window);          gui_redraw_window_nick (window);
395      gui_redraw_window_status (window);      gui_redraw_window_status (window);
396      gui_redraw_window_input (window);      gui_redraw_window_input (window);
# Line 538  gui_window_init_subwindows (t_gui_window Line 549  gui_window_init_subwindows (t_gui_window
549  }  }
550    
551  /*  /*
552     * gui_pre_init: pre-initialize GUI (called before gui_init)
553     */
554    
555    void
556    gui_pre_init (int *argc, char **argv[])
557    {
558        /* Initialise Gtk+ */
559        gtk_init (argc, argv);
560    }
561    
562    /*
563   * gui_init_colors: init GUI colors   * gui_init_colors: init GUI colors
564   */   */
565    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26