diff options
author | 2018-04-04 15:53:46 -0400 | |
---|---|---|
committer | 2018-04-04 22:03:14 -0400 | |
commit | 8eff00f72395add1881aa677e3c718c0554cb096 (patch) | |
tree | 803dc03246326c754732f3b8f635d8a67a2a3441 /sway/desktop/wl_shell.c | |
parent | Remove unused sway_view.unmanaged_link (diff) | |
download | sway-8eff00f72395add1881aa677e3c718c0554cb096.tar.gz sway-8eff00f72395add1881aa677e3c718c0554cb096.tar.zst sway-8eff00f72395add1881aa677e3c718c0554cb096.zip |
Remove unused SWAY_VIEW_TYPES
Diffstat (limited to 'sway/desktop/wl_shell.c')
-rw-r--r-- | sway/desktop/wl_shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c index 6528a397..a470674d 100644 --- a/sway/desktop/wl_shell.c +++ b/sway/desktop/wl_shell.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include "log.h" | 12 | #include "log.h" |
13 | 13 | ||
14 | static bool assert_wl_shell(struct sway_view *view) { | 14 | static bool assert_wl_shell(struct sway_view *view) { |
15 | return sway_assert(view->type == SWAY_WL_SHELL_VIEW, | 15 | return sway_assert(view->type == SWAY_VIEW_WL_SHELL, |
16 | "Expecting wl_shell view!"); | 16 | "Expecting wl_shell view!"); |
17 | } | 17 | } |
18 | 18 | ||
@@ -97,7 +97,7 @@ void handle_wl_shell_surface(struct wl_listener *listener, void *data) { | |||
97 | return; | 97 | return; |
98 | } | 98 | } |
99 | 99 | ||
100 | struct sway_view *view = view_create(SWAY_WL_SHELL_VIEW, &view_impl); | 100 | struct sway_view *view = view_create(SWAY_VIEW_WL_SHELL, &view_impl); |
101 | if (!sway_assert(view, "Failed to allocate view")) { | 101 | if (!sway_assert(view, "Failed to allocate view")) { |
102 | return; | 102 | return; |
103 | } | 103 | } |