Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes no-longer-needed forward definition of wlmtk_window_vmt_t. #143

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading