window: Remove unused parameter from meta_window_new_shared()

This commit is contained in:
Jasper St. Pierre 2013-11-19 14:42:50 -05:00
parent 4326d0bf3a
commit ca342c4573

View File

@ -827,7 +827,6 @@ meta_window_new_shared (MetaDisplay *display,
MetaWindowClientType client_type, MetaWindowClientType client_type,
MetaWaylandSurface *surface, MetaWaylandSurface *surface,
Window xwindow, Window xwindow,
gboolean must_be_viewable,
gulong existing_wm_state, gulong existing_wm_state,
MetaCompEffect effect, MetaCompEffect effect,
XWindowAttributes *attrs) XWindowAttributes *attrs)
@ -838,8 +837,7 @@ meta_window_new_shared (MetaDisplay *display,
g_assert (attrs != NULL); g_assert (attrs != NULL);
meta_verbose ("must_be_viewable = %d attrs->map_state = %d (%s)\n", meta_verbose ("attrs->map_state = %d (%s)\n",
must_be_viewable,
attrs->map_state, attrs->map_state,
(attrs->map_state == IsUnmapped) ? (attrs->map_state == IsUnmapped) ?
"IsUnmapped" : "IsUnmapped" :
@ -1421,7 +1419,6 @@ meta_window_new_for_wayland (MetaDisplay *display,
META_WINDOW_CLIENT_TYPE_WAYLAND, META_WINDOW_CLIENT_TYPE_WAYLAND,
surface, surface,
None, None,
TRUE,
WithdrawnState, WithdrawnState,
META_COMP_EFFECT_NONE, META_COMP_EFFECT_NONE,
&attrs); &attrs);
@ -1601,7 +1598,6 @@ meta_window_new_with_attrs (MetaDisplay *display,
META_WINDOW_CLIENT_TYPE_X11, META_WINDOW_CLIENT_TYPE_X11,
NULL, NULL,
xwindow, xwindow,
must_be_viewable,
existing_wm_state, existing_wm_state,
effect, effect,
attrs); attrs);