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:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user