diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-19 23:33:14 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-19 23:33:14 +0100 |
commit | 2801b8437c0ee1c529244c1b7f7a6603e029a5a5 (patch) | |
tree | 506e97763d6dadc664a3811b600a0f2890cc0b4b /src/gui/gtk | |
parent | bc3fa9fd4cddd24d066b60f11c08d3c8e5ff1e61 (diff) | |
download | weechat-2801b8437c0ee1c529244c1b7f7a6603e029a5a5.zip |
Reformat multi-line comments
Diffstat (limited to 'src/gui/gtk')
-rw-r--r-- | src/gui/gtk/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk-chat.c | 2 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk-main.c | 6 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk-window.c | 2 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk.h | 6 |
5 files changed, 11 insertions, 7 deletions
diff --git a/src/gui/gtk/CMakeLists.txt b/src/gui/gtk/CMakeLists.txt index 348ef2e16..d64ce1e1a 100644 --- a/src/gui/gtk/CMakeLists.txt +++ b/src/gui/gtk/CMakeLists.txt @@ -29,7 +29,7 @@ FIND_PACKAGE(PkgConfig) IF(PKG_CONFIG_FOUND) pkg_check_modules(GTK2 gtk+-x11-2.0) IF(GTK2_FOUND) - INCLUDE_DIRECTORIES( ${GTK2_INCLUDE_DIRS} ) + INCLUDE_DIRECTORIES( ${GTK2_INCLUDE_DIRS} ) LIST(APPEND EXTRA_LIBS ${GTK2_LIBRARIES}) # ELSE(GTK2_FOUND) # MESSAGE(FATAL_ERROR "Missing dependency, aborting configuration phase") diff --git a/src/gui/gtk/gui-gtk-chat.c b/src/gui/gtk/gui-gtk-chat.c index 363fecede..86d7a8e21 100644 --- a/src/gui/gtk/gui-gtk-chat.c +++ b/src/gui/gtk/gui-gtk-chat.c @@ -144,7 +144,7 @@ gui_chat_reset_color_style (struct t_gui_window *window) void gui_chat_set_color (struct t_gui_window *window, int fg, int bg) { - /* TODO: write this function for Gtk */ + /* TODO: write this function for Gtk */ /*if (((fg == -1) || (fg == 99)) && ((bg == -1) || (bg == 99))) wattron (window->win_chat, COLOR_PAIR(63)); diff --git a/src/gui/gtk/gui-gtk-main.c b/src/gui/gtk/gui-gtk-main.c index b064b3d0b..acffeea95 100644 --- a/src/gui/gtk/gui-gtk-main.c +++ b/src/gui/gtk/gui-gtk-main.c @@ -195,8 +195,10 @@ gui_main_init () gui_window_set_title (PACKAGE_NAME " " PACKAGE_VERSION); } - /* create bar windows for root bars (they were read from config, - but no window was created (GUI was not initialized) */ + /* + * create bar windows for root bars (they were read from config, + * but no window was created (GUI was not initialized) + */ for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar) { if ((CONFIG_INTEGER(ptr_bar->options[GUI_BAR_OPTION_TYPE]) == GUI_BAR_TYPE_ROOT) diff --git a/src/gui/gtk/gui-gtk-window.c b/src/gui/gtk/gui-gtk-window.c index c329b1c9f..5c1cf0854 100644 --- a/src/gui/gtk/gui-gtk-window.c +++ b/src/gui/gtk/gui-gtk-window.c @@ -490,7 +490,7 @@ gui_window_split_horizontal (struct t_gui_window *window, int percentage) if ((percentage > 0) && (percentage <= 100)) { - new_window = gui_window_new (window, window->buffer, + new_window = gui_window_new (window, window->buffer, window->win_x, window->win_y, window->win_width, height1, 100, percentage); diff --git a/src/gui/gtk/gui-gtk.h b/src/gui/gtk/gui-gtk.h index 954b74c77..bf92d2502 100644 --- a/src/gui/gtk/gui-gtk.h +++ b/src/gui/gtk/gui-gtk.h @@ -41,8 +41,10 @@ struct t_gui_line; #define COLOR_YELLOW 6 #define COLOR_WHITE 7 -/* shift ncurses colors for compatibility with colors - in IRC messages (same as other IRC clients) */ +/* + * shift ncurses colors for compatibility with colors + * in IRC messages (same as other IRC clients) + */ #define WEECHAT_COLOR_BLACK COLOR_BLACK #define WEECHAT_COLOR_RED COLOR_BLUE |