diff --git a/src/ChangeLog b/src/ChangeLog index fd29ef0d7..2a3d8e4cf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-08-22 Pavel Roskin + + * dlg.h: Remove unused fields in struct Dlg_head. + * dlg.c: Adjust for the above. + 2002-08-21 Pavel Roskin * dlg.h: Remove unused fields in struct Widget. diff --git a/src/dlg.c b/src/dlg.c index 827fc9b20..82f8dd05c 100644 --- a/src/dlg.c +++ b/src/dlg.c @@ -210,7 +210,6 @@ Dlg_head *create_dlg (int y1, int x1, int lines, int cols, new_d->y = y1; new_d->cols = cols; new_d->lines = lines; - new_d->name = name; return (new_d); } diff --git a/src/dlg.h b/src/dlg.h index e72c4e428..2fb95c9cf 100644 --- a/src/dlg.h +++ b/src/dlg.h @@ -85,7 +85,6 @@ typedef struct Dlg_head { int direction; int send_idle_msg; - char *name; /* Dialog name Tk code */ char *help_ctx; /* Internal variables */ @@ -94,8 +93,7 @@ typedef struct Dlg_head { struct Widget_Item *initfocus; - /* Hacks */ - char *title; + char *title; /* Title of the dialog */ int cols; int lines; @@ -103,9 +101,6 @@ typedef struct Dlg_head { int has_menubar; /* GrossHack: Send events on row 1 to a menubar? */ int raw; /* Should the tab key be sent to the dialog? */ - - widget_data wdata; - int grided; /* Does it use the automatic layout? */ } Dlg_head; /* Every Widget must have this as it's first element */