wayland: Use our named #define for the wl_shell version

This commit is contained in:
Jasper St. Pierre 2014-07-17 17:40:10 -04:00
parent 46b9984414
commit ac0b2fdc6f

View File

@ -1757,7 +1757,8 @@ meta_wayland_shell_init (MetaWaylandCompositor *compositor)
g_error ("Failed to register a global xdg-shell object"); g_error ("Failed to register a global xdg-shell object");
if (wl_global_create (compositor->wayland_display, if (wl_global_create (compositor->wayland_display,
&wl_shell_interface, 1, &wl_shell_interface,
META_WL_SHELL_VERSION,
compositor, bind_wl_shell) == NULL) compositor, bind_wl_shell) == NULL)
g_error ("Failed to register a global wl-shell object"); g_error ("Failed to register a global wl-shell object");