gnome-shell/src/st
Jonas Dreßler 1cefd589da st: Only use clutter_actor_invalidate_paint_volume() if the API exists
With commits fab39bbea5 and
62e40a1350 we started depending on a new
ClutterActor API: clutter_actor_invalidate_paint_volume()

Given that this commit was applied to the 40 stable release, it broke
ABI compatibility with mutter, which is something we guarantee between
stable releases. So use GModule to dynamically find the symbol in our
loaded libraries. If it exists, use it and invalidate the paint volume.
If it doesn't exist, libmutter is still at version 40.0 and we don't
need to invalidate the paint volume.

This also adds a dependency on gmodule. We need to link against gmodule
to use g_module_open() and g_module_symbol() APIs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1807>
2021-04-26 12:18:52 +00:00
..
croco *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
meson.build st: Only use clutter_actor_invalidate_paint_volume() if the API exists 2021-04-26 12:18:52 +00:00
st-adjustment.c StAdjustment: note when 'changed' is not emitted 2020-09-07 15:58:14 -07:00
st-adjustment.h st/adjustment: Add ::actor property 2020-07-02 20:50:03 +00:00
st-bin.c st-bin: Disallow st_bin_set_child with already-parented children 2020-11-26 13:47:11 +01:00
st-bin.h st: Remove deprecated Bin properties 2020-05-21 14:36:59 +02:00
st-border-image.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-border-image.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-box-layout.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-box-layout.h st/box-layout: Reimplement as a StViewport subclass 2020-01-20 16:15:32 -03:00
st-button.c st/button: Remove unused spacing member from private struct 2020-11-18 21:26:53 +01:00
st-button.h St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-clipboard.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-clipboard.h st: Add st_clipboard_get_content() 2020-06-19 13:44:15 +02:00
st-drawing-area.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-drawing-area.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-entry.c st/entry: Don't set font twice on style changes 2020-11-18 21:26:53 +01:00
st-entry.h st: Make StEntry rely entirely on ClutterInputMethod/Focus 2018-02-05 17:46:57 +01:00
st-focus-manager.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-focus-manager.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-generic-accessible.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-generic-accessible.h a11y: add a generic accessible 2013-08-28 16:05:54 +02:00
st-icon-colors.c Stop using GSlice 2020-10-19 20:18:11 +02:00
st-icon-colors.h st: Add st_icon_colors_equal() 2019-07-07 21:01:33 +00:00
st-icon.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-icon.h st/icon: Add API to set the fallback GIcon 2020-01-13 14:44:08 +01:00
st-image-content.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-image-content.h st-image-content: Wrap ClutterImage with explicit preferred size 2019-03-01 17:12:52 +00:00
st-label.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-label.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-password-entry.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-password-entry.h StPasswordEntry: Add the peek-password-icon for show/hide passwords 2019-12-17 23:08:43 +01:00
st-private.c Change all g_memdup() to g_memdup2() 2021-02-04 20:17:04 +01:00
st-private.h st: Cleanup ST_PARAM_* and add WRITABLE version 2019-07-30 13:58:44 +00:00
st-scroll-bar.c St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-scroll-bar.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-scroll-view-fade.c st/scrollview: Apply correct fade_edges_left/right effect uniforms in RTL 2021-03-02 22:02:56 +00:00
st-scroll-view-fade.glsl st/scroll-view: Ensure float are used explictly 2021-04-16 19:23:06 +00:00
st-scroll-view-fade.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-scroll-view.c st/scrollview: Add ::content-padding property to StScrollView 2021-03-02 22:02:56 +00:00
st-scroll-view.h st/scroll-view: Make fade effect take ClutterMargin 2021-03-02 22:02:56 +00:00
st-scrollable.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-scrollable.h st: Use G_DECLARE_*_TYPE 2015-10-15 22:02:35 +02:00
st-settings.c st/settings: Adjust to moved GSettings schema 2021-01-15 16:55:05 +00:00
st-settings.h st/settings: Add API to inhibit animations 2020-02-20 11:14:55 +00:00
st-shadow.c Stop using GSlice 2020-10-19 20:18:11 +02:00
st-shadow.h st-shadow: Remove unnecessary ';' 2019-03-04 22:29:33 +00:00
st-texture-cache.c st/texture-cache: Split out load_cairo_surface_to_gicon() method 2021-03-14 20:36:41 +00:00
st-texture-cache.h st/texture-cache: Split out load_cairo_surface_to_gicon() method 2021-03-14 20:36:41 +00:00
st-theme-context.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-theme-context.h st/theme-context: Add a getter for the scale-factor property 2020-04-06 11:24:30 -03:00
st-theme-node-drawing.c st/theme-node-drawing: Fix inner shadow fast path condition 2021-02-07 01:00:05 +00:00
st-theme-node-private.h st/theme-context: Also remove theme nodes on stylesheet changes 2020-04-28 19:53:58 +00:00
st-theme-node-transition.c Adapt to CoglFramebuffers turning into GObjects 2020-10-16 16:18:48 +00:00
st-theme-node-transition.h st/theme-node-transition: Pass actor when constructing timeline 2020-07-02 20:50:03 +00:00
st-theme-node.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-theme-node.h St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st-theme-private.h Include the libcroco sources directly under src/st/croco 2019-11-29 17:50:03 +00:00
st-theme.c *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
st-theme.h st: Drop StWidget theme overriding API 2019-11-05 12:36:28 +00:00
st-types.h st: Remove StIconType 2012-08-29 16:41:09 -03:00
st-viewport.c st: Only use clutter_actor_invalidate_paint_volume() if the API exists 2021-04-26 12:18:52 +00:00
st-viewport.h Introduce StViewport 2020-01-20 16:15:22 -03:00
st-widget-accessible.h StWidgetAccessible: accessibility support for StWidget 2011-01-20 12:56:46 +01:00
st-widget.c st: Only use clutter_actor_invalidate_paint_volume() if the API exists 2021-04-26 12:18:52 +00:00
st-widget.h St Documentation: add and improve documentation for public classes 2020-08-08 11:26:41 +00:00
st.h.in build: Support the meson build system 2017-07-20 00:20:54 +02:00
test-theme.c st: Test for :insensitive styling 2021-02-08 15:41:08 +01:00
test-theme.css test-theme: Stop using ClutterCairoTexture 2019-02-26 03:04:00 +01:00