1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

Removed typedef for GUI structure (use only struct)

This commit is contained in:
Sebastien Helleu
2008-03-10 14:03:37 +01:00
parent 44d152a877
commit 51043471b9
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -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 */
+1 -3
View File
@@ -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 */