gtk2/gdk/wayland
Emmanuele Bassi 2cbe094b91 Allow binding GdkContentFormatsBuilder
GdkContentFormatsBuilder is currently not introspectable, as it does not
have a GType. We can turn it into a boxed type, but we need to implement
memory management for it.

The current gdk_content_formats_builder_free() function returns a newly
constructed value, so we cannot use it as a GBoxedFreeFunc; additionally
copying a GdkContentFormatsBuilder contents would make it a bit odd, as
you could get multiple identical GdkContentFormats out of the copies.

A simple approach is to model the GdkContentFormatsBuilder API to follow
the GBytes one: use reference counting for memory management, and have
a function to release a reference, return a GdkContentFormats, and reset
the GdkContentFormatsBuilder state.

For language bindings, we can provide a get_formats() function that
returns the GdkContentFormats instance and resets the builder instance,
leaving the reference count untouched.

For C convenience we can keep gdk_content_formats_builder_free(), and
make it a wrapper around gdk_content_formats_builder_get_formats(), with
the guarantee that it'll free the builder instance regardless of its
current reference count.

https://bugzilla.gnome.org/show_bug.cgi?id=793097
https://blogs.gnome.org/otte/2018/02/03/builders/
2018-02-03 16:24:13 +01:00
..
protocol Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkapplaunchcontext-wayland.c Drop gdk_app_launch_context_set_screen 2017-10-30 23:01:34 -04:00
gdkclipboard-wayland.c wayland: Use g_message for logging 2018-01-14 17:05:04 -05:00
gdkclipboard-wayland.h wayland: Implement reading the clipboard 2017-12-03 05:46:49 +01:00
gdkcursor-wayland.c gdk: Drop some unused cursor apis 2018-01-16 23:32:01 -05:00
gdkdevice-wayland.c Replace gdk_threads_add_timeout* with g_timeout_add() 2018-02-03 12:06:58 +01:00
gdkdisplay-wayland.c gdk: Drop some unused cursor apis 2018-01-16 23:32:01 -05:00
gdkdisplay-wayland.h wayland: Handle scale 3 for cursors 2017-12-17 16:41:54 -05:00
gdkdnd-wayland.c dnd: Remove 2 vfuncs that aren't needed 2018-01-31 13:21:26 +01:00
gdkeventsource.c Drop the Big GDK Lock 2018-02-03 12:07:10 +01:00
gdkglcontext-wayland.c Make gdk logging per-display 2018-01-14 17:05:04 -05:00
gdkglcontext-wayland.h Stop including gdkmain.h 2017-11-17 00:16:09 -05:00
gdkkeys-wayland.c wayland: Use g_message for logging 2018-01-14 17:05:04 -05:00
gdkmonitor-wayland.c wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprimary-wayland.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkprimary-wayland.h wayland: Add primary clipboard subclass 2017-12-03 05:46:49 +01:00
gdkprivate-wayland.h wayland: Set display on keymaps 2018-01-12 09:23:59 -05:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c Allow binding GdkContentFormatsBuilder 2018-02-03 16:24:13 +01:00
gdkvulkancontext-wayland.c vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkvulkancontext-wayland.h vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkwayland.h selection: Remove #ifdef WAYLAND 2017-11-15 19:07:16 +01:00
gdkwaylanddevice.h wayland: Drop GdkWaylandDeviceManager 2017-11-25 11:04:15 -05:00
gdkwaylanddisplay.h Wayland: Implement KDE's SSD protocol 2017-10-26 15:51:56 -04:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandwindow.h gdkwindow: Remove event_mask arguments from constructors 2017-11-13 23:41:38 +01:00
gdkwindow-wayland.c Set GDK_WINDOW_STATE_TILED if any edge is tiled 2018-01-20 13:10:49 +01:00
genprotocolfiles.py Enforce UTF-8 encoding when opening C files 2018-01-23 14:04:49 +01:00
meson.build wayland: Add primary clipboard subclass 2017-12-03 05:46:49 +01:00
wm-button-layout-translation.c build: Don't turn off critical warnings 2017-10-06 16:03:08 +02:00
wm-button-layout-translation.h gdk: Relicense translate_wm_button_layout_to_gtk() 2017-04-27 21:05:12 +02:00