Skip to content

Commit

Permalink
Removes no-longer-needed forward definition of wlmtk_window_vmt_t. (#143
Browse files Browse the repository at this point in the history
)
  • Loading branch information
phkaeser authored Nov 22, 2024
1 parent 7aca7b6 commit 9cec255
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/toolkit/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#define WLMTK_WINDOW_MAX_PENDING 64

/** Virtual method table for the window. */
struct _wlmtk_window_vmt_t {
typedef struct {
/** Destructor. */
void (*destroy)(wlmtk_window_t *window_ptr);
/** Virtual method for @ref wlmtk_window_request_minimize. */
Expand All @@ -46,7 +46,7 @@ struct _wlmtk_window_vmt_t {
/** Virtual method for @ref wlmtk_window_request_resize. */
void (*request_resize)(wlmtk_window_t *window_ptr,
uint32_t edges);
};
} wlmtk_window_vmt_t;

/** Pending positional updates for @ref wlmtk_window_t::content_ptr. */
typedef struct {
Expand Down
2 changes: 0 additions & 2 deletions src/toolkit/window.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@

/** Forward declaration: Window. */
typedef struct _wlmtk_window_t wlmtk_window_t;
/** Forward declaration: Virtual method table. */
typedef struct _wlmtk_window_vmt_t wlmtk_window_vmt_t;

#include "bordered.h"
#include "box.h"
Expand Down

0 comments on commit 9cec255

Please sign in to comment.