diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-10 14:03:37 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-03-10 14:03:37 +0100 |
commit | 51043471b926825dae9254dcc78f90469f9bed44 (patch) | |
tree | c7685b696c62ac6b33db0ea6a7f62319a61fa966 | |
parent | 44d152a87713f09d5067f60941b0b63eaa7b26b1 (diff) | |
download | weechat-51043471b926825dae9254dcc78f90469f9bed44.zip |
Removed typedef for GUI structure (use only struct)
-rw-r--r-- | src/gui/curses/gui-curses.h | 4 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/curses/gui-curses.h b/src/gui/curses/gui-curses.h index c2a77f76e..663b4963c 100644 --- a/src/gui/curses/gui-curses.h +++ b/src/gui/curses/gui-curses.h @@ -31,7 +31,7 @@ #define WINDOW_MIN_WIDTH 10 #define WINDOW_MIN_HEIGHT 5 -#define GUI_CURSES(window) ((t_gui_curses_objects *)(window->gui_objects)) +#define GUI_CURSES(window) ((struct t_gui_curses_objects *)(window->gui_objects)) struct t_gui_bar_window { @@ -45,8 +45,6 @@ struct t_gui_bar_window /* (only used if bar is in windows) */ }; -typedef struct t_gui_curses_objects t_gui_curses_objects; - struct t_gui_curses_objects { WINDOW *win_title; /* title window */ diff --git a/src/gui/gtk/gui-gtk.h b/src/gui/gtk/gui-gtk.h index 8bedd73cf..3909230b7 100644 --- a/src/gui/gtk/gui-gtk.h +++ b/src/gui/gtk/gui-gtk.h @@ -52,7 +52,7 @@ struct t_gui_line; #define WEECHAT_COLOR_CYAN COLOR_YELLOW #define WEECHAT_COLOR_WHITE COLOR_WHITE -#define GUI_GTK(window) ((t_gui_gtk_objects *)(window->gui_objects)) +#define GUI_GTK(window) ((struct t_gui_gtk_objects *)(window->gui_objects)) struct t_gui_bar_window { @@ -64,8 +64,6 @@ struct t_gui_bar_window /* (only used if bar is in windows) */ }; -typedef struct t_gui_gtk_objects t_gui_gtk_objects; - struct t_gui_gtk_objects { GtkWidget *textview_chat; /* textview widget for chat */ |