commit 8432d8a15e4191d602d72efdcb82ea241dd30b86
parent 490f92255c2a428926e11671debeb31131ccd294
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date: Mon, 14 May 2018 11:47:39 +1000
xdg_shell: Replace get_prop with get_string_prop
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c
@@ -72,7 +72,7 @@ static struct sway_xdg_shell_view *xdg_shell_view_from_view(
return (struct sway_xdg_shell_view *)view;
}
-static const char *get_prop(struct sway_view *view, enum sway_view_prop prop) {
+static const char *get_string_prop(struct sway_view *view, enum sway_view_prop prop) {
if (xdg_shell_view_from_view(view) == NULL) {
return NULL;
}
@@ -150,7 +150,7 @@ static void destroy(struct sway_view *view) {
}
static const struct sway_view_impl view_impl = {
- .get_prop = get_prop,
+ .get_string_prop = get_string_prop,
.configure = configure,
.set_activated = set_activated,
.set_fullscreen = set_fullscreen,