Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5
metacity
metacity-glib-2.62.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File metacity-glib-2.62.patch of Package metacity
--- a/configure.ac +++ b/configure.ac @@ -89,7 +89,7 @@ dnl ************************************ dnl Check for required packages dnl ************************************************************************** -GLIB_REQUIRED_VERSION=2.67.3 +GLIB_REQUIRED_VERSION=2.62.0 GTK_REQUIRED_VERSION=3.24.6 PANGO_REQUIRED_VERSION=1.2.0 XCOMPOSITE_REQUIRED_VERSION=0.3 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -596,7 +596,11 @@ meta_screen_manage_all_windows (MetaScre meta_stack_tracker_get_stack (screen->stack_tracker, &windows, &n_windows); /* Copy the stack as it will be modified as part of the loop */ +#if GLIB_CHECK_VERSION (2, 68, 0) xwindows = g_memdup2 (windows, sizeof (Window) * n_windows); +#else + xwindows = g_memdup (windows, sizeof (Window) * n_windows); +#endif for (i = 0; i < n_windows; i++) { --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -1949,7 +1949,11 @@ meta_display_init_window_prop_hooks (Met }, }; +#if GLIB_CHECK_VERSION (2, 68, 0) MetaWindowPropHooks *table = g_memdup2 (hooks, sizeof (hooks)), +#else + MetaWindowPropHooks *table = g_memdup (hooks, sizeof (hooks)), +#endif *cursor = table; g_assert (display->prop_hooks == NULL);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor