#include "ui/gtk/gtk_stubs.h"
#include <dlfcn.h>
#include <cstdarg>
#include "base/compiler_specific.h"
#include "ui/gtk/log_noop.h"
#include "ui/gtk/gtk_compat.h"
namespace {
void LogDlerror(const char* symbol) { … }
}
extern "C" {
static GdkPixbuf* (*gdk_pixbuf_new_from_file_at_size_ptr)(const char* filename, int width, int height, GError** error) = …;
static int (*gdk_pixbuf_get_width_ptr)(const GdkPixbuf* pixbuf) = …;
static int (*gdk_pixbuf_get_height_ptr)(const GdkPixbuf* pixbuf) = …;
extern GdkPixbuf* gdk_pixbuf_new_from_file_at_size(const char* filename, int width, int height, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
GdkPixbuf* gdk_pixbuf_new_from_file_at_size(const char* filename, int width, int height, GError** error) { … }
extern int gdk_pixbuf_get_width(const GdkPixbuf* pixbuf) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_pixbuf_get_width(const GdkPixbuf* pixbuf) { … }
extern int gdk_pixbuf_get_height(const GdkPixbuf* pixbuf) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_pixbuf_get_height(const GdkPixbuf* pixbuf) { … }
}
namespace ui_gtk {
bool IsGdk_pixbufInitialized() { … }
void InitializeGdk_pixbuf(void* module) { … }
void UninitializeGdk_pixbuf() { … }
}
extern "C" {
static GdkDisplay* (*gdk_display_get_default_ptr)(void) = …;
static gboolean (*gdk_keymap_translate_keyboard_state_ptr)(GdkKeymap* keymap, guint hardware_keycode, GdkModifierType state, gint group, guint* keyval, gint* effective_group, gint* level, GdkModifierType* consumed_modifiers) = …;
static void (*gdk_keymap_add_virtual_modifiers_ptr)(GdkKeymap* keymap, GdkModifierType* state) = …;
static GdkEvent* (*gdk_event_new_ptr)(GdkEventType type) = …;
static void (*gdk_event_free_ptr)(GdkEvent* event) = …;
static gboolean (*gdk_keymap_get_entries_for_keycode_ptr)(GdkKeymap* keymap, guint hardware_keycode, GdkKeymapKey** keys, guint** keyvals, gint* n_entries) = …;
static GdkKeymap* (*gdk_keymap_get_for_display_ptr)(GdkDisplay* display) = …;
static int (*gdk_texture_get_width_ptr)(GdkTexture* texture) = …;
static int (*gdk_texture_get_height_ptr)(GdkTexture* texture) = …;
static void (*gdk_texture_download_ptr)(GdkTexture* texture, guchar* data, gsize stride) = …;
static gboolean (*gdk_display_map_keycode_ptr)(GdkDisplay* display, guint keycode, GdkKeymapKey** keys, guint** keyvals, int* n_entries) = …;
static void (*gdk_paintable_snapshot_ptr)(GdkPaintable* paintable, GdkSnapshot* snapshot, double width, double height) = …;
static GType (*gdk_paintable_get_type_ptr)(void) = …;
static GdkSeat* (*gdk_display_get_default_seat_ptr)(GdkDisplay* display) = …;
static GdkDevice* (*gdk_seat_get_keyboard_ptr)(GdkSeat* seat) = …;
static GdkTexture* (*gdk_memory_texture_new_ptr)(int width, int height, GdkMemoryFormat format, GBytes* bytes, gsize stride) = …;
static int (*gdk_paintable_get_intrinsic_width_ptr)(GdkPaintable* paintable) = …;
static int (*gdk_paintable_get_intrinsic_height_ptr)(GdkPaintable* paintable) = …;
static GdkScreen* (*gdk_screen_get_default_ptr)(void) = …;
static void (*gdk_color_free_ptr)(GdkColor* color) = …;
static gboolean (*gdk_wayland_window_set_transient_for_exported_ptr)(GdkWindow* window, char* parent_handle_str) = …;
static gboolean (*gdk_wayland_toplevel_set_transient_for_exported_ptr)(GdkToplevel* toplevel, const char* parent_handle_str) = …;
static unsigned long (*gdk_x11_surface_get_xid_ptr)(GdkSurface* surface) = …;
static unsigned long (*gdk_x11_window_get_xid_ptr)(GdkWindow* window) = …;
static void (*gdk_event_handler_set_ptr)(GdkEventFunc func, gpointer data, GDestroyNotify notify) = …;
static GdkWindow* (*gdk_x11_window_foreign_new_for_display_ptr)(GdkDisplay* display, unsigned long window) = …;
static GdkWindow* (*gdk_x11_window_lookup_for_display_ptr)(GdkDisplay* display, unsigned long window) = …;
static guint (*gdk_key_event_get_keycode_ptr)(GdkEvent* event) = …;
static guint (*gdk_key_event_get_keyval_ptr)(GdkEvent* event) = …;
static GdkSurface* (*gdk_event_get_surface_ptr)(GdkEvent* event) = …;
static GdkModifierType (*gdk_event_get_modifier_state_ptr)(GdkEvent *event) = …;
static GType (*gdk_toplevel_get_type_ptr)(void) = …;
static void (*gdk_set_allowed_backends_ptr)(const gchar* backends) = …;
static guint32 (*gdk_keyval_to_unicode_ptr)(guint keyval) = …;
static gdouble (*gdk_screen_get_resolution_ptr)(GdkScreen *screen) = …;
static guint (*gdk_unicode_to_keyval_ptr)(guint32 wc) = …;
static int (*gdk_display_get_n_monitors_ptr)(GdkDisplay *display) = …;
static GdkMonitor* (*gdk_display_get_monitor_ptr)(GdkDisplay *display, int monitor_num) = …;
static void (*gdk_monitor_get_geometry_ptr)(GdkMonitor *monitor, GdkRectangle *geometry) = …;
static int (*gdk_monitor_get_scale_factor_ptr)(GdkMonitor *monitor) = …;
static GdkMonitor* (*gdk_display_get_primary_monitor_ptr)(GdkDisplay *display) = …;
static GListModel* (*gdk_display_get_monitors_ptr)(GdkDisplay *self) = …;
extern GdkDisplay* gdk_display_get_default(void) __attribute__((weak));
DISABLE_CFI_ICALL
GdkDisplay* gdk_display_get_default(void) { … }
extern gboolean gdk_keymap_translate_keyboard_state(GdkKeymap* keymap, guint hardware_keycode, GdkModifierType state, gint group, guint* keyval, gint* effective_group, gint* level, GdkModifierType* consumed_modifiers) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gdk_keymap_translate_keyboard_state(GdkKeymap* keymap, guint hardware_keycode, GdkModifierType state, gint group, guint* keyval, gint* effective_group, gint* level, GdkModifierType* consumed_modifiers) { … }
extern void gdk_keymap_add_virtual_modifiers(GdkKeymap* keymap, GdkModifierType* state) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_keymap_add_virtual_modifiers(GdkKeymap* keymap, GdkModifierType* state) { … }
extern GdkEvent* gdk_event_new(GdkEventType type) __attribute__((weak));
DISABLE_CFI_ICALL
GdkEvent* gdk_event_new(GdkEventType type) { … }
extern void gdk_event_free(GdkEvent* event) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_event_free(GdkEvent* event) { … }
extern gboolean gdk_keymap_get_entries_for_keycode(GdkKeymap* keymap, guint hardware_keycode, GdkKeymapKey** keys, guint** keyvals, gint* n_entries) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gdk_keymap_get_entries_for_keycode(GdkKeymap* keymap, guint hardware_keycode, GdkKeymapKey** keys, guint** keyvals, gint* n_entries) { … }
extern GdkKeymap* gdk_keymap_get_for_display(GdkDisplay* display) __attribute__((weak));
DISABLE_CFI_ICALL
GdkKeymap* gdk_keymap_get_for_display(GdkDisplay* display) { … }
extern int gdk_texture_get_width(GdkTexture* texture) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_texture_get_width(GdkTexture* texture) { … }
extern int gdk_texture_get_height(GdkTexture* texture) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_texture_get_height(GdkTexture* texture) { … }
extern void gdk_texture_download(GdkTexture* texture, guchar* data, gsize stride) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_texture_download(GdkTexture* texture, guchar* data, gsize stride) { … }
extern gboolean gdk_display_map_keycode(GdkDisplay* display, guint keycode, GdkKeymapKey** keys, guint** keyvals, int* n_entries) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gdk_display_map_keycode(GdkDisplay* display, guint keycode, GdkKeymapKey** keys, guint** keyvals, int* n_entries) { … }
extern void gdk_paintable_snapshot(GdkPaintable* paintable, GdkSnapshot* snapshot, double width, double height) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_paintable_snapshot(GdkPaintable* paintable, GdkSnapshot* snapshot, double width, double height) { … }
extern GType gdk_paintable_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gdk_paintable_get_type(void) { … }
extern GdkSeat* gdk_display_get_default_seat(GdkDisplay* display) __attribute__((weak));
DISABLE_CFI_ICALL
GdkSeat* gdk_display_get_default_seat(GdkDisplay* display) { … }
extern GdkDevice* gdk_seat_get_keyboard(GdkSeat* seat) __attribute__((weak));
DISABLE_CFI_ICALL
GdkDevice* gdk_seat_get_keyboard(GdkSeat* seat) { … }
extern GdkTexture* gdk_memory_texture_new(int width, int height, GdkMemoryFormat format, GBytes* bytes, gsize stride) __attribute__((weak));
DISABLE_CFI_ICALL
GdkTexture* gdk_memory_texture_new(int width, int height, GdkMemoryFormat format, GBytes* bytes, gsize stride) { … }
extern int gdk_paintable_get_intrinsic_width(GdkPaintable* paintable) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_paintable_get_intrinsic_width(GdkPaintable* paintable) { … }
extern int gdk_paintable_get_intrinsic_height(GdkPaintable* paintable) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_paintable_get_intrinsic_height(GdkPaintable* paintable) { … }
extern GdkScreen* gdk_screen_get_default(void) __attribute__((weak));
DISABLE_CFI_ICALL
GdkScreen* gdk_screen_get_default(void) { … }
extern void gdk_color_free(GdkColor* color) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_color_free(GdkColor* color) { … }
extern gboolean gdk_wayland_window_set_transient_for_exported(GdkWindow* window, char* parent_handle_str) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gdk_wayland_window_set_transient_for_exported(GdkWindow* window, char* parent_handle_str) { … }
extern gboolean gdk_wayland_toplevel_set_transient_for_exported(GdkToplevel* toplevel, const char* parent_handle_str) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gdk_wayland_toplevel_set_transient_for_exported(GdkToplevel* toplevel, const char* parent_handle_str) { … }
extern unsigned long gdk_x11_surface_get_xid(GdkSurface* surface) __attribute__((weak));
DISABLE_CFI_ICALL
unsigned long gdk_x11_surface_get_xid(GdkSurface* surface) { … }
extern unsigned long gdk_x11_window_get_xid(GdkWindow* window) __attribute__((weak));
DISABLE_CFI_ICALL
unsigned long gdk_x11_window_get_xid(GdkWindow* window) { … }
extern void gdk_event_handler_set(GdkEventFunc func, gpointer data, GDestroyNotify notify) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_event_handler_set(GdkEventFunc func, gpointer data, GDestroyNotify notify) { … }
extern GdkWindow* gdk_x11_window_foreign_new_for_display(GdkDisplay* display, unsigned long window) __attribute__((weak));
DISABLE_CFI_ICALL
GdkWindow* gdk_x11_window_foreign_new_for_display(GdkDisplay* display, unsigned long window) { … }
extern GdkWindow* gdk_x11_window_lookup_for_display(GdkDisplay* display, unsigned long window) __attribute__((weak));
DISABLE_CFI_ICALL
GdkWindow* gdk_x11_window_lookup_for_display(GdkDisplay* display, unsigned long window) { … }
extern guint gdk_key_event_get_keycode(GdkEvent* event) __attribute__((weak));
DISABLE_CFI_ICALL
guint gdk_key_event_get_keycode(GdkEvent* event) { … }
extern guint gdk_key_event_get_keyval(GdkEvent* event) __attribute__((weak));
DISABLE_CFI_ICALL
guint gdk_key_event_get_keyval(GdkEvent* event) { … }
extern GdkSurface* gdk_event_get_surface(GdkEvent* event) __attribute__((weak));
DISABLE_CFI_ICALL
GdkSurface* gdk_event_get_surface(GdkEvent* event) { … }
extern GdkModifierType gdk_event_get_modifier_state(GdkEvent *event) __attribute__((weak));
DISABLE_CFI_ICALL
GdkModifierType gdk_event_get_modifier_state(GdkEvent *event) { … }
extern GType gdk_toplevel_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gdk_toplevel_get_type(void) { … }
extern void gdk_set_allowed_backends(const gchar* backends) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_set_allowed_backends(const gchar* backends) { … }
extern guint32 gdk_keyval_to_unicode(guint keyval) __attribute__((weak));
DISABLE_CFI_ICALL
guint32 gdk_keyval_to_unicode(guint keyval) { … }
extern gdouble gdk_screen_get_resolution(GdkScreen *screen) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gdk_screen_get_resolution(GdkScreen *screen) { … }
extern guint gdk_unicode_to_keyval(guint32 wc) __attribute__((weak));
DISABLE_CFI_ICALL
guint gdk_unicode_to_keyval(guint32 wc) { … }
extern int gdk_display_get_n_monitors(GdkDisplay *display) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_display_get_n_monitors(GdkDisplay *display) { … }
extern GdkMonitor* gdk_display_get_monitor(GdkDisplay *display, int monitor_num) __attribute__((weak));
DISABLE_CFI_ICALL
GdkMonitor* gdk_display_get_monitor(GdkDisplay *display, int monitor_num) { … }
extern void gdk_monitor_get_geometry(GdkMonitor *monitor, GdkRectangle *geometry) __attribute__((weak));
DISABLE_CFI_ICALL
void gdk_monitor_get_geometry(GdkMonitor *monitor, GdkRectangle *geometry) { … }
extern int gdk_monitor_get_scale_factor(GdkMonitor *monitor) __attribute__((weak));
DISABLE_CFI_ICALL
int gdk_monitor_get_scale_factor(GdkMonitor *monitor) { … }
extern GdkMonitor* gdk_display_get_primary_monitor(GdkDisplay *display) __attribute__((weak));
DISABLE_CFI_ICALL
GdkMonitor* gdk_display_get_primary_monitor(GdkDisplay *display) { … }
extern GListModel* gdk_display_get_monitors(GdkDisplay *self) __attribute__((weak));
DISABLE_CFI_ICALL
GListModel* gdk_display_get_monitors(GdkDisplay *self) { … }
}
namespace ui_gtk {
bool IsGdkInitialized() { … }
void InitializeGdk(void* module) { … }
void UninitializeGdk() { … }
}
extern "C" {
static GskRenderNodeType (*gsk_render_node_get_node_type_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static void (*gsk_render_node_unref_ptr)(GskRenderNode* node) = …;
static GskRenderNode* (*gsk_transform_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_opacity_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_color_matrix_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_repeat_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_clip_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_rounded_clip_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_shadow_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_blur_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_debug_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GskRenderNode* (*gsk_container_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node, guint idx) = …;
static GskRenderNode* (*gsk_gl_shader_node_get_child_ptr)(UI_GTK_CONST GskRenderNode* node, guint idx) = …;
static guint (*gsk_container_node_get_n_children_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static guint (*gsk_gl_shader_node_get_n_children_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static GdkTexture* (*gsk_texture_node_get_texture_ptr)(UI_GTK_CONST GskRenderNode* node) = …;
static float (*gsk_opacity_node_get_opacity_ptr)(const GskRenderNode* node) = …;
extern GskRenderNodeType gsk_render_node_get_node_type(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNodeType gsk_render_node_get_node_type(UI_GTK_CONST GskRenderNode* node) { … }
extern void gsk_render_node_unref(GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
void gsk_render_node_unref(GskRenderNode* node) { … }
extern GskRenderNode* gsk_transform_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_transform_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_opacity_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_opacity_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_color_matrix_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_color_matrix_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_repeat_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_repeat_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_clip_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_clip_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_rounded_clip_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_rounded_clip_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_shadow_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_shadow_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_blur_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_blur_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_debug_node_get_child(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_debug_node_get_child(UI_GTK_CONST GskRenderNode* node) { … }
extern GskRenderNode* gsk_container_node_get_child(UI_GTK_CONST GskRenderNode* node, guint idx) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_container_node_get_child(UI_GTK_CONST GskRenderNode* node, guint idx) { … }
extern GskRenderNode* gsk_gl_shader_node_get_child(UI_GTK_CONST GskRenderNode* node, guint idx) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gsk_gl_shader_node_get_child(UI_GTK_CONST GskRenderNode* node, guint idx) { … }
extern guint gsk_container_node_get_n_children(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
guint gsk_container_node_get_n_children(UI_GTK_CONST GskRenderNode* node) { … }
extern guint gsk_gl_shader_node_get_n_children(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
guint gsk_gl_shader_node_get_n_children(UI_GTK_CONST GskRenderNode* node) { … }
extern GdkTexture* gsk_texture_node_get_texture(UI_GTK_CONST GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
GdkTexture* gsk_texture_node_get_texture(UI_GTK_CONST GskRenderNode* node) { … }
extern float gsk_opacity_node_get_opacity(const GskRenderNode* node) __attribute__((weak));
DISABLE_CFI_ICALL
float gsk_opacity_node_get_opacity(const GskRenderNode* node) { … }
}
namespace ui_gtk {
bool IsGskInitialized() { … }
void InitializeGsk(void* module) { … }
void UninitializeGsk() { … }
}
extern "C" {
static GtkSettings* (*gtk_settings_get_default_ptr)(void) = …;
static void (*gtk_widget_path_iter_set_object_name_ptr)(GtkWidgetPath* path, gint pos, const gchar* name) = …;
static void (*gtk_widget_path_iter_add_class_ptr)(GtkWidgetPath* path, gint pos, const gchar* name) = …;
static GtkWidgetPath* (*gtk_widget_path_copy_ptr)(const GtkWidgetPath* path) = …;
static GtkWidgetPath* (*gtk_widget_path_new_ptr)(void) = …;
static const GtkWidgetPath* (*gtk_style_context_get_path_ptr)(GtkStyleContext* context) = …;
static gint (*gtk_widget_path_append_type_ptr)(GtkWidgetPath* path, GType type) = …;
static void (*gtk_widget_path_iter_set_name_ptr)(GtkWidgetPath* path, gint pos, const gchar* name) = …;
static void (*gtk_widget_path_iter_set_state_ptr)(GtkWidgetPath* path, gint pos, GtkStateFlags state) = …;
static GtkStyleContext* (*gtk_style_context_new_ptr)(void) = …;
static void (*gtk_style_context_set_path_ptr)(GtkStyleContext* context, GtkWidgetPath* path) = …;
static void (*gtk_style_context_set_parent_ptr)(GtkStyleContext* context, GtkStyleContext* parent) = …;
static void (*gtk_widget_path_unref_ptr)(GtkWidgetPath* path) = …;
static GtkStyleContext* (*gtk_style_context_get_parent_ptr)(GtkStyleContext* context) = …;
static void (*gtk_widget_set_css_classes_ptr)(GtkWidget* widget, const char** classes) = …;
static void (*gtk_widget_measure_ptr)(GtkWidget* widget, GtkOrientation orientation, int for_size, int* minimum, int* natural, int* minimum_baseline, int* natural_baseline) = …;
static GtkWidget* (*gtk_offscreen_window_new_ptr)(void) = …;
static void (*gtk_container_add_ptr)(GtkContainer* container, GtkWidget* widget) = …;
static void (*gtk_widget_destroy_ptr)(GtkWidget* widget) = …;
static gboolean (*gtk_bindings_activate_event_ptr)(GObject* object, GdkEventKey* event) = …;
static void (*gtk_widget_set_events_ptr)(GtkWidget* widget, gint events) = …;
static GType (*gtk_container_get_type_ptr)(void) = …;
static cairo_surface_t* (*gtk_icon_info_load_surface_ptr)(GtkIconInfo* icon_info, GdkWindow* for_window, GError** error) = …;
static void (*gtk_style_context_get_valist_ptr)(GtkStyleContext* context, GtkStateFlags state, va_list args) = …;
static void (*gtk_style_context_get_style_valist_ptr)(GtkStyleContext* context, va_list args) = …;
static GtkSnapshot* (*gtk_snapshot_new_ptr)(void) = …;
static GskRenderNode* (*gtk_snapshot_free_to_node_ptr)(GtkSnapshot* snapshot) = …;
static void (*gtk_im_context_set_client_widget_ptr)(GtkIMContext* context, GtkWidget* widget) = …;
static GtkNative* (*gtk_widget_get_native_ptr)(GtkWidget* widget) = …;
static GdkSurface* (*gtk_native_get_surface_ptr)(GtkNative* native) = …;
static gboolean (*gtk_im_context_filter_key_ptr)(GtkIMContext* context, gboolean press, GdkSurface* surface, GdkDevice* device, guint32 time, guint keycode, GdkModifierType state, int group) = …;
static void (*gtk_im_context_set_client_window_ptr)(GtkIMContext* context, GdkWindow* window) = …;
static gboolean (*gtk_file_chooser_set_filename_ptr)(GtkFileChooser* chooser, const char* filename) = …;
static GSList* (*gtk_file_chooser_list_filters_ptr)(GtkFileChooser* chooser) = …;
static gchar* (*gtk_file_chooser_get_filename_ptr)(GtkFileChooser* chooser) = …;
static GSList* (*gtk_file_chooser_get_filenames_ptr)(GtkFileChooser* chooser) = …;
static char* (*gtk_file_chooser_get_preview_filename_ptr)(GtkFileChooser* chooser) = …;
static void (*gtk_file_chooser_set_preview_widget_active_ptr)(GtkFileChooser* chooser, gboolean active) = …;
static void (*gtk_file_chooser_set_preview_widget_ptr)(GtkFileChooser* chooser, GtkWidget* preview_widget) = …;
static gboolean (*gtk_widget_hide_on_delete_ptr)(GtkWidget* widget) = …;
static void (*gtk_widget_show_all_ptr)(GtkWidget* widget) = …;
static void (*gtk_file_chooser_set_do_overwrite_confirmation_ptr)(GtkFileChooser* chooser, gboolean do_overwrite_confirmation) = …;
static GListModel* (*gtk_file_chooser_get_filters_ptr)(GtkFileChooser* chooser) = …;
static void (*gtk_window_set_hide_on_close_ptr)(GtkWindow* window, gboolean setting) = …;
static GtkIconInfo* (*gtk_icon_theme_lookup_icon_for_scale_ptr)(GtkIconTheme* icon_theme, const gchar* icon_name, gint size, gint scale, GtkIconLookupFlags flags) = …;
static GdkPixbuf* (*gtk_icon_info_load_symbolic_for_context_ptr)(GtkIconInfo* icon_info, GtkStyleContext* context, gboolean* was_symbolic, GError** error) = …;
static void (*gtk_snapshot_render_background_ptr)(GtkSnapshot* snapshot, GtkStyleContext* context, double x, double y, double width, double height) = …;
static GType (*gtk_menu_get_type_ptr)(void) = …;
static GType (*gtk_menu_bar_get_type_ptr)(void) = …;
static GType (*gtk_menu_item_get_type_ptr)(void) = …;
static void (*gtk_style_context_add_provider_for_screen_ptr)(GdkScreen* screen, GtkStyleProvider* provider, guint priority) = …;
static void (*gtk_style_context_add_provider_for_display_ptr)(GdkDisplay* display, GtkStyleProvider* provider, guint priority) = …;
static void (*gtk_style_context_remove_provider_for_screen_ptr)(GdkScreen* screen, GtkStyleProvider* provider) = …;
static void (*gtk_style_context_remove_provider_for_display_ptr)(GdkDisplay* display, GtkStyleProvider* provider) = …;
static void (*gtk_window_destroy_ptr)(GtkWindow* window) = …;
static GtkIconTheme* (*gtk_icon_theme_get_for_display_ptr)(GdkDisplay* display) = …;
static GtkIconTheme* (*gtk_icon_theme_get_default_ptr)(void) = …;
static gboolean (*gtk_widget_path_iter_has_class_ptr)(const GtkWidgetPath* path, gint pos, const gchar* name) = …;
static GdkWindow* (*gtk_widget_get_window_ptr)(GtkWidget* widget) = …;
static void (*gtk_main_do_event_ptr)(GdkEvent *event) = …;
static guint (*gtk_get_major_version_ptr)(void) = …;
static guint (*gtk_get_minor_version_ptr)(void) = …;
static guint (*gtk_get_micro_version_ptr)(void) = …;
static void (*gtk_window_present_ptr)(GtkWindow* window) = …;
static void (*gtk_window_present_with_time_ptr)(GtkWindow* window, guint32 timestamp) = …;
static GType (*gtk_box_get_type_ptr)(void) = …;
static GType (*gtk_button_get_type_ptr)(void) = …;
static GType (*gtk_cell_view_get_type_ptr)(void) = …;
static GType (*gtk_combo_box_text_get_type_ptr)(void) = …;
static GType (*gtk_entry_get_type_ptr)(void) = …;
static GType (*gtk_file_chooser_get_type_ptr)(void) = …;
static GType (*gtk_frame_get_type_ptr)(void) = …;
static GType (*gtk_header_bar_get_type_ptr)(void) = …;
static GType (*gtk_image_get_type_ptr)(void) = …;
static GType (*gtk_info_bar_get_type_ptr)(void) = …;
static GType (*gtk_label_get_type_ptr)(void) = …;
static GType (*gtk_print_unix_dialog_get_type_ptr)(void) = …;
static GType (*gtk_range_get_type_ptr)(void) = …;
static GType (*gtk_scale_get_type_ptr)(void) = …;
static GType (*gtk_scrollbar_get_type_ptr)(void) = …;
static GType (*gtk_scrolled_window_get_type_ptr)(void) = …;
static GType (*gtk_separator_get_type_ptr)(void) = …;
static GType (*gtk_spinner_get_type_ptr)(void) = …;
static GType (*gtk_style_provider_get_type_ptr)(void) = …;
static GType (*gtk_text_view_get_type_ptr)(void) = …;
static GType (*gtk_toggle_button_get_type_ptr)(void) = …;
static GType (*gtk_tree_model_get_type_ptr)(void) = …;
static GType (*gtk_tree_view_get_type_ptr)(void) = …;
static GType (*gtk_widget_get_type_ptr)(void) = …;
static GType (*gtk_window_get_type_ptr)(void) = …;
static GtkWidget* (*gtk_combo_box_new_with_model_ptr)(GtkTreeModel* model) = …;
static GtkCssProvider* (*gtk_css_provider_new_ptr)(void) = …;
static void (*gtk_disable_setlocale_ptr)(void) = …;
static void (*gtk_enumerate_printers_ptr)(GtkPrinterFunc func, gpointer data, GDestroyNotify destroy, gboolean wait) = …;
static void (*gtk_file_chooser_add_filter_ptr)(GtkFileChooser* chooser, GtkFileFilter* filter) = …;
static GFile* (*gtk_file_chooser_get_file_ptr)(GtkFileChooser* chooser) = …;
static GtkFileFilter* (*gtk_file_chooser_get_filter_ptr)(GtkFileChooser* chooser) = …;
static void (*gtk_file_chooser_set_create_folders_ptr)(GtkFileChooser* chooser, gboolean create_folders) = …;
static void (*gtk_file_chooser_set_current_name_ptr)(GtkFileChooser* chooser, const gchar* name) = …;
static gboolean (*gtk_file_chooser_set_file_ptr)(GtkFileChooser* chooser, GFile* file, GError** error) = …;
static void (*gtk_file_chooser_set_filter_ptr)(GtkFileChooser* chooser, GtkFileFilter* filter) = …;
static void (*gtk_file_chooser_set_select_multiple_ptr)(GtkFileChooser* chooser, gboolean select_multiple) = …;
static void (*gtk_file_filter_add_mime_type_ptr)(GtkFileFilter* filter, const gchar* mime_type) = …;
static void (*gtk_file_filter_add_pattern_ptr)(GtkFileFilter* filter, const gchar* pattern) = …;
static GtkFileFilter* (*gtk_file_filter_new_ptr)(void) = …;
static void (*gtk_file_filter_set_name_ptr)(GtkFileFilter* filter, const gchar* name) = …;
static GtkWidget* (*gtk_image_new_ptr)(void) = …;
static void (*gtk_image_set_from_pixbuf_ptr)(GtkImage* image, GdkPixbuf* pixbuf) = …;
static void (*gtk_im_context_focus_in_ptr)(GtkIMContext* context) = …;
static void (*gtk_im_context_focus_out_ptr)(GtkIMContext* context) = …;
static void (*gtk_im_context_get_preedit_string_ptr)(GtkIMContext* context, gchar** str, PangoAttrList** attrs, gint* cursor_pos) = …;
static void (*gtk_im_context_reset_ptr)(GtkIMContext* context) = …;
static void (*gtk_im_context_set_cursor_location_ptr)(GtkIMContext* context, const GdkRectangle* area) = …;
static GtkIMContext* (*gtk_im_context_simple_new_ptr)(void) = …;
static GtkIMContext* (*gtk_im_multicontext_new_ptr)(void) = …;
static const char* (*gtk_im_multicontext_get_context_id_ptr)(GtkIMMulticontext* context) = …;
static void (*gtk_im_multicontext_set_context_id_ptr)(GtkIMMulticontext* context, const char* context_id) = …;
static GType (*gtk_im_multicontext_get_type_ptr)(void) = …;
static GtkWidget* (*gtk_label_new_ptr)(const gchar* str) = …;
static gdouble (*gtk_page_setup_get_left_margin_ptr)(GtkPageSetup* setup, GtkUnit unit) = …;
static gdouble (*gtk_page_setup_get_page_height_ptr)(GtkPageSetup* setup, GtkUnit unit) = …;
static gdouble (*gtk_page_setup_get_page_width_ptr)(GtkPageSetup* setup, GtkUnit unit) = …;
static gdouble (*gtk_page_setup_get_paper_height_ptr)(GtkPageSetup* setup, GtkUnit unit) = …;
static GtkPaperSize* (*gtk_page_setup_get_paper_size_ptr)(GtkPageSetup* setup) = …;
static gdouble (*gtk_page_setup_get_paper_width_ptr)(GtkPageSetup* setup, GtkUnit unit) = …;
static gdouble (*gtk_page_setup_get_top_margin_ptr)(GtkPageSetup* setup, GtkUnit unit) = …;
static gboolean (*gtk_page_setup_load_key_file_ptr)(GtkPageSetup* setup, GKeyFile* key_file, const char* group_name, GError** error) = …;
static GtkPageSetup* (*gtk_page_setup_new_ptr)(void) = …;
static void (*gtk_page_setup_set_paper_size_ptr)(GtkPageSetup* setup, GtkPaperSize* size) = …;
static void (*gtk_page_setup_to_key_file_ptr)(GtkPageSetup* setup, GKeyFile* key_file, const gchar* group_name) = …;
static void (*gtk_paper_size_free_ptr)(GtkPaperSize* size) = …;
static gdouble (*gtk_paper_size_get_height_ptr)(GtkPaperSize* size, GtkUnit unit) = …;
static GList* (*gtk_paper_size_get_paper_sizes_ptr)(gboolean include_custom) = …;
static const gchar* (*gtk_paper_size_get_ppd_name_ptr)(GtkPaperSize* size) = …;
static gdouble (*gtk_paper_size_get_width_ptr)(GtkPaperSize* size, GtkUnit unit) = …;
static GtkPaperSize* (*gtk_paper_size_new_custom_ptr)(const gchar* name, const gchar* display_name, gdouble width, gdouble height, GtkUnit unit) = …;
static GtkPageSetup* (*gtk_printer_get_default_page_size_ptr)(GtkPrinter* printer) = …;
static const gchar* (*gtk_printer_get_name_ptr)(GtkPrinter* printer) = …;
static gboolean (*gtk_printer_is_default_ptr)(GtkPrinter* printer) = …;
static GtkPrintJob* (*gtk_print_job_new_ptr)(const gchar* title, GtkPrinter* printer, GtkPrintSettings* settings, GtkPageSetup* page_setup) = …;
static void (*gtk_print_job_send_ptr)(GtkPrintJob* job, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify) = …;
static gboolean (*gtk_print_job_set_source_file_ptr)(GtkPrintJob* job, const gchar* filename, GError** error) = …;
static GtkPrintSettings* (*gtk_print_settings_copy_ptr)(GtkPrintSettings* other) = …;
static GtkPageOrientation (*gtk_print_settings_get_orientation_ptr)(GtkPrintSettings* settings) = …;
static GtkPageRange* (*gtk_print_settings_get_page_ranges_ptr)(GtkPrintSettings* settings, gint *num_ranges) = …;
static const gchar* (*gtk_print_settings_get_printer_ptr)(GtkPrintSettings* settings) = …;
static GtkPrintPages (*gtk_print_settings_get_print_pages_ptr)(GtkPrintSettings* settings) = …;
static gint (*gtk_print_settings_get_resolution_ptr)(GtkPrintSettings* settings) = …;
static gboolean (*gtk_print_settings_load_key_file_ptr)(GtkPrintSettings* settings, GKeyFile* key_file, const gchar* group_name, GError** error) = …;
static GtkPrintSettings* (*gtk_print_settings_new_ptr)(void) = …;
static void (*gtk_print_settings_set_ptr)(GtkPrintSettings* settings, const gchar* key, const gchar* value) = …;
static void (*gtk_print_settings_set_collate_ptr)(GtkPrintSettings* settings, gboolean collate) = …;
static void (*gtk_print_settings_set_n_copies_ptr)(GtkPrintSettings* settings, gint num_copies) = …;
static void (*gtk_print_settings_set_orientation_ptr)(GtkPrintSettings* settings, GtkPageOrientation orientation) = …;
static void (*gtk_print_settings_set_printer_lpi_ptr)(GtkPrintSettings* settings, gdouble lpi) = …;
static void (*gtk_print_settings_set_print_pages_ptr)(GtkPrintSettings* settings, GtkPrintPages pages) = …;
static void (*gtk_print_settings_set_resolution_xy_ptr)(GtkPrintSettings* settings, gint resolution_x, gint resolution_y) = …;
static void (*gtk_print_settings_to_key_file_ptr)(GtkPrintSettings* settings, GKeyFile* key_file, const gchar* group_name) = …;
static GtkPageSetup* (*gtk_print_unix_dialog_get_page_setup_ptr)(GtkPrintUnixDialog* dialog) = …;
static GtkPrinter* (*gtk_print_unix_dialog_get_selected_printer_ptr)(GtkPrintUnixDialog* dialog) = …;
static GtkPrintSettings* (*gtk_print_unix_dialog_get_settings_ptr)(GtkPrintUnixDialog* dialog) = …;
static GtkWidget* (*gtk_print_unix_dialog_new_ptr)(const char* title, GtkWindow* parent) = …;
static void (*gtk_print_unix_dialog_set_embed_page_setup_ptr)(GtkPrintUnixDialog* dialog, gboolean embed) = …;
static void (*gtk_print_unix_dialog_set_has_selection_ptr)(GtkPrintUnixDialog* dialog, gboolean has_selection) = …;
static void (*gtk_print_unix_dialog_set_manual_capabilities_ptr)(GtkPrintUnixDialog* dialog, GtkPrintCapabilities capabilities) = …;
static void (*gtk_print_unix_dialog_set_settings_ptr)(GtkPrintUnixDialog* dialog, GtkPrintSettings* settings) = …;
static void (*gtk_print_unix_dialog_set_support_selection_ptr)(GtkPrintUnixDialog* dialog, gboolean support_selection) = …;
static void (*gtk_render_background_ptr)(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) = …;
static void (*gtk_render_focus_ptr)(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) = …;
static void (*gtk_render_frame_ptr)(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) = …;
static GtkWidget* (*gtk_separator_new_ptr)(GtkOrientation orientation) = …;
static void (*gtk_style_context_add_class_ptr)(GtkStyleContext* context, const gchar* class_name) = …;
static void (*gtk_style_context_add_provider_ptr)(GtkStyleContext* context, GtkStyleProvider* provider, guint priority) = …;
static GtkStateFlags (*gtk_style_context_get_state_ptr)(GtkStyleContext* context) = …;
static gboolean (*gtk_style_context_has_class_ptr)(GtkStyleContext* context, const gchar* class_name) = …;
static void (*gtk_style_context_set_scale_ptr)(GtkStyleContext* context, gint scale) = …;
static void (*gtk_style_context_set_state_ptr)(GtkStyleContext* context, GtkStateFlags flags) = …;
static PangoContext* (*gtk_widget_get_pango_context_ptr)(GtkWidget* widget) = …;
static GtkWidget* (*gtk_widget_get_parent_ptr)(GtkWidget* widget) = …;
static void (*gtk_widget_get_preferred_size_ptr)(GtkWidget* widget, GtkRequisition* minimum_size, GtkRequisition* natural_size) = …;
static gint (*gtk_widget_get_scale_factor_ptr)(GtkWidget* widget) = …;
static GtkStyleContext* (*gtk_widget_get_style_context_ptr)(GtkWidget* widget) = …;
static void (*gtk_widget_hide_ptr)(GtkWidget* widget) = …;
static void (*gtk_widget_realize_ptr)(GtkWidget* widget) = …;
static void (*gtk_widget_set_can_focus_ptr)(GtkWidget* widget, gboolean can_focus) = …;
static void (*gtk_widget_set_name_ptr)(GtkWidget* widget, const gchar* name) = …;
static void (*gtk_widget_set_parent_ptr)(GtkWidget* widget, GtkWidget* parent) = …;
static void (*gtk_widget_set_sensitive_ptr)(GtkWidget* widget, gboolean sensitive) = …;
static void (*gtk_widget_set_size_request_ptr)(GtkWidget* widget, gint width, gint height) = …;
static void (*gtk_widget_set_state_flags_ptr)(GtkWidget* widget, GtkStateFlags flags, gboolean clear) = …;
static void (*gtk_widget_show_ptr)(GtkWidget* widget) = …;
static void (*gtk_window_set_modal_ptr)(GtkWindow* window, gboolean modal) = …;
static void (*gtk_print_settings_set_printer_ptr)(GtkPrintSettings* settings, const gchar* printer) = …;
extern GtkSettings* gtk_settings_get_default(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkSettings* gtk_settings_get_default(void) { … }
extern void gtk_widget_path_iter_set_object_name(GtkWidgetPath* path, gint pos, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_path_iter_set_object_name(GtkWidgetPath* path, gint pos, const gchar* name) { … }
extern void gtk_widget_path_iter_add_class(GtkWidgetPath* path, gint pos, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_path_iter_add_class(GtkWidgetPath* path, gint pos, const gchar* name) { … }
extern GtkWidgetPath* gtk_widget_path_copy(const GtkWidgetPath* path) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidgetPath* gtk_widget_path_copy(const GtkWidgetPath* path) { … }
extern GtkWidgetPath* gtk_widget_path_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidgetPath* gtk_widget_path_new(void) { … }
extern const GtkWidgetPath* gtk_style_context_get_path(GtkStyleContext* context) __attribute__((weak));
DISABLE_CFI_ICALL
const GtkWidgetPath* gtk_style_context_get_path(GtkStyleContext* context) { … }
extern gint gtk_widget_path_append_type(GtkWidgetPath* path, GType type) __attribute__((weak));
DISABLE_CFI_ICALL
gint gtk_widget_path_append_type(GtkWidgetPath* path, GType type) { … }
extern void gtk_widget_path_iter_set_name(GtkWidgetPath* path, gint pos, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_path_iter_set_name(GtkWidgetPath* path, gint pos, const gchar* name) { … }
extern void gtk_widget_path_iter_set_state(GtkWidgetPath* path, gint pos, GtkStateFlags state) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_path_iter_set_state(GtkWidgetPath* path, gint pos, GtkStateFlags state) { … }
extern GtkStyleContext* gtk_style_context_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkStyleContext* gtk_style_context_new(void) { … }
extern void gtk_style_context_set_path(GtkStyleContext* context, GtkWidgetPath* path) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_set_path(GtkStyleContext* context, GtkWidgetPath* path) { … }
extern void gtk_style_context_set_parent(GtkStyleContext* context, GtkStyleContext* parent) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_set_parent(GtkStyleContext* context, GtkStyleContext* parent) { … }
extern void gtk_widget_path_unref(GtkWidgetPath* path) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_path_unref(GtkWidgetPath* path) { … }
extern GtkStyleContext* gtk_style_context_get_parent(GtkStyleContext* context) __attribute__((weak));
DISABLE_CFI_ICALL
GtkStyleContext* gtk_style_context_get_parent(GtkStyleContext* context) { … }
extern void gtk_widget_set_css_classes(GtkWidget* widget, const char** classes) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_css_classes(GtkWidget* widget, const char** classes) { … }
extern void gtk_widget_measure(GtkWidget* widget, GtkOrientation orientation, int for_size, int* minimum, int* natural, int* minimum_baseline, int* natural_baseline) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_measure(GtkWidget* widget, GtkOrientation orientation, int for_size, int* minimum, int* natural, int* minimum_baseline, int* natural_baseline) { … }
extern GtkWidget* gtk_offscreen_window_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_offscreen_window_new(void) { … }
extern void gtk_container_add(GtkContainer* container, GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_container_add(GtkContainer* container, GtkWidget* widget) { … }
extern void gtk_widget_destroy(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_destroy(GtkWidget* widget) { … }
extern gboolean gtk_bindings_activate_event(GObject* object, GdkEventKey* event) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_bindings_activate_event(GObject* object, GdkEventKey* event) { … }
extern void gtk_widget_set_events(GtkWidget* widget, gint events) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_events(GtkWidget* widget, gint events) { … }
extern GType gtk_container_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_container_get_type(void) { … }
extern cairo_surface_t* gtk_icon_info_load_surface(GtkIconInfo* icon_info, GdkWindow* for_window, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
cairo_surface_t* gtk_icon_info_load_surface(GtkIconInfo* icon_info, GdkWindow* for_window, GError** error) { … }
extern void gtk_style_context_get_valist(GtkStyleContext* context, GtkStateFlags state, va_list args) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_get_valist(GtkStyleContext* context, GtkStateFlags state, va_list args) { … }
extern void gtk_style_context_get_style_valist(GtkStyleContext* context, va_list args) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_get_style_valist(GtkStyleContext* context, va_list args) { … }
extern GtkSnapshot* gtk_snapshot_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkSnapshot* gtk_snapshot_new(void) { … }
extern GskRenderNode* gtk_snapshot_free_to_node(GtkSnapshot* snapshot) __attribute__((weak));
DISABLE_CFI_ICALL
GskRenderNode* gtk_snapshot_free_to_node(GtkSnapshot* snapshot) { … }
extern void gtk_im_context_set_client_widget(GtkIMContext* context, GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_set_client_widget(GtkIMContext* context, GtkWidget* widget) { … }
extern GtkNative* gtk_widget_get_native(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
GtkNative* gtk_widget_get_native(GtkWidget* widget) { … }
extern GdkSurface* gtk_native_get_surface(GtkNative* native) __attribute__((weak));
DISABLE_CFI_ICALL
GdkSurface* gtk_native_get_surface(GtkNative* native) { … }
extern gboolean gtk_im_context_filter_key(GtkIMContext* context, gboolean press, GdkSurface* surface, GdkDevice* device, guint32 time, guint keycode, GdkModifierType state, int group) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_im_context_filter_key(GtkIMContext* context, gboolean press, GdkSurface* surface, GdkDevice* device, guint32 time, guint keycode, GdkModifierType state, int group) { … }
extern void gtk_im_context_set_client_window(GtkIMContext* context, GdkWindow* window) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_set_client_window(GtkIMContext* context, GdkWindow* window) { … }
extern gboolean gtk_file_chooser_set_filename(GtkFileChooser* chooser, const char* filename) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_file_chooser_set_filename(GtkFileChooser* chooser, const char* filename) { … }
extern GSList* gtk_file_chooser_list_filters(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
GSList* gtk_file_chooser_list_filters(GtkFileChooser* chooser) { … }
extern gchar* gtk_file_chooser_get_filename(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
gchar* gtk_file_chooser_get_filename(GtkFileChooser* chooser) { … }
extern GSList* gtk_file_chooser_get_filenames(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
GSList* gtk_file_chooser_get_filenames(GtkFileChooser* chooser) { … }
extern char* gtk_file_chooser_get_preview_filename(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
char* gtk_file_chooser_get_preview_filename(GtkFileChooser* chooser) { … }
extern void gtk_file_chooser_set_preview_widget_active(GtkFileChooser* chooser, gboolean active) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_preview_widget_active(GtkFileChooser* chooser, gboolean active) { … }
extern void gtk_file_chooser_set_preview_widget(GtkFileChooser* chooser, GtkWidget* preview_widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_preview_widget(GtkFileChooser* chooser, GtkWidget* preview_widget) { … }
extern gboolean gtk_widget_hide_on_delete(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_widget_hide_on_delete(GtkWidget* widget) { … }
extern void gtk_widget_show_all(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_show_all(GtkWidget* widget) { … }
extern void gtk_file_chooser_set_do_overwrite_confirmation(GtkFileChooser* chooser, gboolean do_overwrite_confirmation) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_do_overwrite_confirmation(GtkFileChooser* chooser, gboolean do_overwrite_confirmation) { … }
extern GListModel* gtk_file_chooser_get_filters(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
GListModel* gtk_file_chooser_get_filters(GtkFileChooser* chooser) { … }
extern void gtk_window_set_hide_on_close(GtkWindow* window, gboolean setting) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_window_set_hide_on_close(GtkWindow* window, gboolean setting) { … }
extern GtkIconInfo* gtk_icon_theme_lookup_icon_for_scale(GtkIconTheme* icon_theme, const gchar* icon_name, gint size, gint scale, GtkIconLookupFlags flags) __attribute__((weak));
DISABLE_CFI_ICALL
GtkIconInfo* gtk_icon_theme_lookup_icon_for_scale(GtkIconTheme* icon_theme, const gchar* icon_name, gint size, gint scale, GtkIconLookupFlags flags) { … }
extern GdkPixbuf* gtk_icon_info_load_symbolic_for_context(GtkIconInfo* icon_info, GtkStyleContext* context, gboolean* was_symbolic, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
GdkPixbuf* gtk_icon_info_load_symbolic_for_context(GtkIconInfo* icon_info, GtkStyleContext* context, gboolean* was_symbolic, GError** error) { … }
extern void gtk_snapshot_render_background(GtkSnapshot* snapshot, GtkStyleContext* context, double x, double y, double width, double height) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_snapshot_render_background(GtkSnapshot* snapshot, GtkStyleContext* context, double x, double y, double width, double height) { … }
extern GType gtk_menu_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_menu_get_type(void) { … }
extern GType gtk_menu_bar_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_menu_bar_get_type(void) { … }
extern GType gtk_menu_item_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_menu_item_get_type(void) { … }
extern void gtk_style_context_add_provider_for_screen(GdkScreen* screen, GtkStyleProvider* provider, guint priority) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_add_provider_for_screen(GdkScreen* screen, GtkStyleProvider* provider, guint priority) { … }
extern void gtk_style_context_add_provider_for_display(GdkDisplay* display, GtkStyleProvider* provider, guint priority) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_add_provider_for_display(GdkDisplay* display, GtkStyleProvider* provider, guint priority) { … }
extern void gtk_style_context_remove_provider_for_screen(GdkScreen* screen, GtkStyleProvider* provider) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_remove_provider_for_screen(GdkScreen* screen, GtkStyleProvider* provider) { … }
extern void gtk_style_context_remove_provider_for_display(GdkDisplay* display, GtkStyleProvider* provider) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_remove_provider_for_display(GdkDisplay* display, GtkStyleProvider* provider) { … }
extern void gtk_window_destroy(GtkWindow* window) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_window_destroy(GtkWindow* window) { … }
extern GtkIconTheme* gtk_icon_theme_get_for_display(GdkDisplay* display) __attribute__((weak));
DISABLE_CFI_ICALL
GtkIconTheme* gtk_icon_theme_get_for_display(GdkDisplay* display) { … }
extern GtkIconTheme* gtk_icon_theme_get_default(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkIconTheme* gtk_icon_theme_get_default(void) { … }
extern gboolean gtk_widget_path_iter_has_class(const GtkWidgetPath* path, gint pos, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_widget_path_iter_has_class(const GtkWidgetPath* path, gint pos, const gchar* name) { … }
extern GdkWindow* gtk_widget_get_window(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
GdkWindow* gtk_widget_get_window(GtkWidget* widget) { … }
extern void gtk_main_do_event(GdkEvent *event) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_main_do_event(GdkEvent *event) { … }
extern guint gtk_get_major_version(void) __attribute__((weak));
DISABLE_CFI_ICALL
guint gtk_get_major_version(void) { … }
extern guint gtk_get_minor_version(void) __attribute__((weak));
DISABLE_CFI_ICALL
guint gtk_get_minor_version(void) { … }
extern guint gtk_get_micro_version(void) __attribute__((weak));
DISABLE_CFI_ICALL
guint gtk_get_micro_version(void) { … }
extern void gtk_window_present(GtkWindow* window) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_window_present(GtkWindow* window) { … }
extern void gtk_window_present_with_time(GtkWindow* window, guint32 timestamp) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_window_present_with_time(GtkWindow* window, guint32 timestamp) { … }
extern GType gtk_box_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_box_get_type(void) { … }
extern GType gtk_button_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_button_get_type(void) { … }
extern GType gtk_cell_view_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_cell_view_get_type(void) { … }
extern GType gtk_combo_box_text_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_combo_box_text_get_type(void) { … }
extern GType gtk_entry_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_entry_get_type(void) { … }
extern GType gtk_file_chooser_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_file_chooser_get_type(void) { … }
extern GType gtk_frame_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_frame_get_type(void) { … }
extern GType gtk_header_bar_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_header_bar_get_type(void) { … }
extern GType gtk_image_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_image_get_type(void) { … }
extern GType gtk_info_bar_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_info_bar_get_type(void) { … }
extern GType gtk_label_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_label_get_type(void) { … }
extern GType gtk_print_unix_dialog_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_print_unix_dialog_get_type(void) { … }
extern GType gtk_range_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_range_get_type(void) { … }
extern GType gtk_scale_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_scale_get_type(void) { … }
extern GType gtk_scrollbar_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_scrollbar_get_type(void) { … }
extern GType gtk_scrolled_window_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_scrolled_window_get_type(void) { … }
extern GType gtk_separator_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_separator_get_type(void) { … }
extern GType gtk_spinner_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_spinner_get_type(void) { … }
extern GType gtk_style_provider_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_style_provider_get_type(void) { … }
extern GType gtk_text_view_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_text_view_get_type(void) { … }
extern GType gtk_toggle_button_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_toggle_button_get_type(void) { … }
extern GType gtk_tree_model_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_tree_model_get_type(void) { … }
extern GType gtk_tree_view_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_tree_view_get_type(void) { … }
extern GType gtk_widget_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_widget_get_type(void) { … }
extern GType gtk_window_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_window_get_type(void) { … }
extern GtkWidget* gtk_combo_box_new_with_model(GtkTreeModel* model) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_combo_box_new_with_model(GtkTreeModel* model) { … }
extern GtkCssProvider* gtk_css_provider_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkCssProvider* gtk_css_provider_new(void) { … }
extern void gtk_disable_setlocale(void) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_disable_setlocale(void) { … }
extern void gtk_enumerate_printers(GtkPrinterFunc func, gpointer data, GDestroyNotify destroy, gboolean wait) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_enumerate_printers(GtkPrinterFunc func, gpointer data, GDestroyNotify destroy, gboolean wait) { … }
extern void gtk_file_chooser_add_filter(GtkFileChooser* chooser, GtkFileFilter* filter) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_add_filter(GtkFileChooser* chooser, GtkFileFilter* filter) { … }
extern GFile* gtk_file_chooser_get_file(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
GFile* gtk_file_chooser_get_file(GtkFileChooser* chooser) { … }
extern GtkFileFilter* gtk_file_chooser_get_filter(GtkFileChooser* chooser) __attribute__((weak));
DISABLE_CFI_ICALL
GtkFileFilter* gtk_file_chooser_get_filter(GtkFileChooser* chooser) { … }
extern void gtk_file_chooser_set_create_folders(GtkFileChooser* chooser, gboolean create_folders) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_create_folders(GtkFileChooser* chooser, gboolean create_folders) { … }
extern void gtk_file_chooser_set_current_name(GtkFileChooser* chooser, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_current_name(GtkFileChooser* chooser, const gchar* name) { … }
extern gboolean gtk_file_chooser_set_file(GtkFileChooser* chooser, GFile* file, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_file_chooser_set_file(GtkFileChooser* chooser, GFile* file, GError** error) { … }
extern void gtk_file_chooser_set_filter(GtkFileChooser* chooser, GtkFileFilter* filter) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_filter(GtkFileChooser* chooser, GtkFileFilter* filter) { … }
extern void gtk_file_chooser_set_select_multiple(GtkFileChooser* chooser, gboolean select_multiple) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_chooser_set_select_multiple(GtkFileChooser* chooser, gboolean select_multiple) { … }
extern void gtk_file_filter_add_mime_type(GtkFileFilter* filter, const gchar* mime_type) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_filter_add_mime_type(GtkFileFilter* filter, const gchar* mime_type) { … }
extern void gtk_file_filter_add_pattern(GtkFileFilter* filter, const gchar* pattern) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_filter_add_pattern(GtkFileFilter* filter, const gchar* pattern) { … }
extern GtkFileFilter* gtk_file_filter_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkFileFilter* gtk_file_filter_new(void) { … }
extern void gtk_file_filter_set_name(GtkFileFilter* filter, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_file_filter_set_name(GtkFileFilter* filter, const gchar* name) { … }
extern GtkWidget* gtk_image_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_image_new(void) { … }
extern void gtk_image_set_from_pixbuf(GtkImage* image, GdkPixbuf* pixbuf) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_image_set_from_pixbuf(GtkImage* image, GdkPixbuf* pixbuf) { … }
extern void gtk_im_context_focus_in(GtkIMContext* context) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_focus_in(GtkIMContext* context) { … }
extern void gtk_im_context_focus_out(GtkIMContext* context) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_focus_out(GtkIMContext* context) { … }
extern void gtk_im_context_get_preedit_string(GtkIMContext* context, gchar** str, PangoAttrList** attrs, gint* cursor_pos) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_get_preedit_string(GtkIMContext* context, gchar** str, PangoAttrList** attrs, gint* cursor_pos) { … }
extern void gtk_im_context_reset(GtkIMContext* context) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_reset(GtkIMContext* context) { … }
extern void gtk_im_context_set_cursor_location(GtkIMContext* context, const GdkRectangle* area) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_context_set_cursor_location(GtkIMContext* context, const GdkRectangle* area) { … }
extern GtkIMContext* gtk_im_context_simple_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkIMContext* gtk_im_context_simple_new(void) { … }
extern GtkIMContext* gtk_im_multicontext_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkIMContext* gtk_im_multicontext_new(void) { … }
extern const char* gtk_im_multicontext_get_context_id(GtkIMMulticontext* context) __attribute__((weak));
DISABLE_CFI_ICALL
const char* gtk_im_multicontext_get_context_id(GtkIMMulticontext* context) { … }
extern void gtk_im_multicontext_set_context_id(GtkIMMulticontext* context, const char* context_id) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_im_multicontext_set_context_id(GtkIMMulticontext* context, const char* context_id) { … }
extern GType gtk_im_multicontext_get_type(void) __attribute__((weak));
DISABLE_CFI_ICALL
GType gtk_im_multicontext_get_type(void) { … }
extern GtkWidget* gtk_label_new(const gchar* str) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_label_new(const gchar* str) { … }
extern gdouble gtk_page_setup_get_left_margin(GtkPageSetup* setup, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_page_setup_get_left_margin(GtkPageSetup* setup, GtkUnit unit) { … }
extern gdouble gtk_page_setup_get_page_height(GtkPageSetup* setup, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_page_setup_get_page_height(GtkPageSetup* setup, GtkUnit unit) { … }
extern gdouble gtk_page_setup_get_page_width(GtkPageSetup* setup, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_page_setup_get_page_width(GtkPageSetup* setup, GtkUnit unit) { … }
extern gdouble gtk_page_setup_get_paper_height(GtkPageSetup* setup, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_page_setup_get_paper_height(GtkPageSetup* setup, GtkUnit unit) { … }
extern GtkPaperSize* gtk_page_setup_get_paper_size(GtkPageSetup* setup) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPaperSize* gtk_page_setup_get_paper_size(GtkPageSetup* setup) { … }
extern gdouble gtk_page_setup_get_paper_width(GtkPageSetup* setup, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_page_setup_get_paper_width(GtkPageSetup* setup, GtkUnit unit) { … }
extern gdouble gtk_page_setup_get_top_margin(GtkPageSetup* setup, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_page_setup_get_top_margin(GtkPageSetup* setup, GtkUnit unit) { … }
extern gboolean gtk_page_setup_load_key_file(GtkPageSetup* setup, GKeyFile* key_file, const char* group_name, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_page_setup_load_key_file(GtkPageSetup* setup, GKeyFile* key_file, const char* group_name, GError** error) { … }
extern GtkPageSetup* gtk_page_setup_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPageSetup* gtk_page_setup_new(void) { … }
extern void gtk_page_setup_set_paper_size(GtkPageSetup* setup, GtkPaperSize* size) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_page_setup_set_paper_size(GtkPageSetup* setup, GtkPaperSize* size) { … }
extern void gtk_page_setup_to_key_file(GtkPageSetup* setup, GKeyFile* key_file, const gchar* group_name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_page_setup_to_key_file(GtkPageSetup* setup, GKeyFile* key_file, const gchar* group_name) { … }
extern void gtk_paper_size_free(GtkPaperSize* size) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_paper_size_free(GtkPaperSize* size) { … }
extern gdouble gtk_paper_size_get_height(GtkPaperSize* size, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_paper_size_get_height(GtkPaperSize* size, GtkUnit unit) { … }
extern GList* gtk_paper_size_get_paper_sizes(gboolean include_custom) __attribute__((weak));
DISABLE_CFI_ICALL
GList* gtk_paper_size_get_paper_sizes(gboolean include_custom) { … }
extern const gchar* gtk_paper_size_get_ppd_name(GtkPaperSize* size) __attribute__((weak));
DISABLE_CFI_ICALL
const gchar* gtk_paper_size_get_ppd_name(GtkPaperSize* size) { … }
extern gdouble gtk_paper_size_get_width(GtkPaperSize* size, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
gdouble gtk_paper_size_get_width(GtkPaperSize* size, GtkUnit unit) { … }
extern GtkPaperSize* gtk_paper_size_new_custom(const gchar* name, const gchar* display_name, gdouble width, gdouble height, GtkUnit unit) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPaperSize* gtk_paper_size_new_custom(const gchar* name, const gchar* display_name, gdouble width, gdouble height, GtkUnit unit) { … }
extern GtkPageSetup* gtk_printer_get_default_page_size(GtkPrinter* printer) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPageSetup* gtk_printer_get_default_page_size(GtkPrinter* printer) { … }
extern const gchar* gtk_printer_get_name(GtkPrinter* printer) __attribute__((weak));
DISABLE_CFI_ICALL
const gchar* gtk_printer_get_name(GtkPrinter* printer) { … }
extern gboolean gtk_printer_is_default(GtkPrinter* printer) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_printer_is_default(GtkPrinter* printer) { … }
extern GtkPrintJob* gtk_print_job_new(const gchar* title, GtkPrinter* printer, GtkPrintSettings* settings, GtkPageSetup* page_setup) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPrintJob* gtk_print_job_new(const gchar* title, GtkPrinter* printer, GtkPrintSettings* settings, GtkPageSetup* page_setup) { … }
extern void gtk_print_job_send(GtkPrintJob* job, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_job_send(GtkPrintJob* job, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify) { … }
extern gboolean gtk_print_job_set_source_file(GtkPrintJob* job, const gchar* filename, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_print_job_set_source_file(GtkPrintJob* job, const gchar* filename, GError** error) { … }
extern GtkPrintSettings* gtk_print_settings_copy(GtkPrintSettings* other) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPrintSettings* gtk_print_settings_copy(GtkPrintSettings* other) { … }
extern GtkPageOrientation gtk_print_settings_get_orientation(GtkPrintSettings* settings) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPageOrientation gtk_print_settings_get_orientation(GtkPrintSettings* settings) { … }
extern GtkPageRange* gtk_print_settings_get_page_ranges(GtkPrintSettings* settings, gint *num_ranges) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPageRange* gtk_print_settings_get_page_ranges(GtkPrintSettings* settings, gint *num_ranges) { … }
extern const gchar* gtk_print_settings_get_printer(GtkPrintSettings* settings) __attribute__((weak));
DISABLE_CFI_ICALL
const gchar* gtk_print_settings_get_printer(GtkPrintSettings* settings) { … }
extern GtkPrintPages gtk_print_settings_get_print_pages(GtkPrintSettings* settings) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPrintPages gtk_print_settings_get_print_pages(GtkPrintSettings* settings) { … }
extern gint gtk_print_settings_get_resolution(GtkPrintSettings* settings) __attribute__((weak));
DISABLE_CFI_ICALL
gint gtk_print_settings_get_resolution(GtkPrintSettings* settings) { … }
extern gboolean gtk_print_settings_load_key_file(GtkPrintSettings* settings, GKeyFile* key_file, const gchar* group_name, GError** error) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_print_settings_load_key_file(GtkPrintSettings* settings, GKeyFile* key_file, const gchar* group_name, GError** error) { … }
extern GtkPrintSettings* gtk_print_settings_new(void) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPrintSettings* gtk_print_settings_new(void) { … }
extern void gtk_print_settings_set(GtkPrintSettings* settings, const gchar* key, const gchar* value) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set(GtkPrintSettings* settings, const gchar* key, const gchar* value) { … }
extern void gtk_print_settings_set_collate(GtkPrintSettings* settings, gboolean collate) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_collate(GtkPrintSettings* settings, gboolean collate) { … }
extern void gtk_print_settings_set_n_copies(GtkPrintSettings* settings, gint num_copies) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_n_copies(GtkPrintSettings* settings, gint num_copies) { … }
extern void gtk_print_settings_set_orientation(GtkPrintSettings* settings, GtkPageOrientation orientation) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_orientation(GtkPrintSettings* settings, GtkPageOrientation orientation) { … }
extern void gtk_print_settings_set_printer_lpi(GtkPrintSettings* settings, gdouble lpi) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_printer_lpi(GtkPrintSettings* settings, gdouble lpi) { … }
extern void gtk_print_settings_set_print_pages(GtkPrintSettings* settings, GtkPrintPages pages) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_print_pages(GtkPrintSettings* settings, GtkPrintPages pages) { … }
extern void gtk_print_settings_set_resolution_xy(GtkPrintSettings* settings, gint resolution_x, gint resolution_y) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_resolution_xy(GtkPrintSettings* settings, gint resolution_x, gint resolution_y) { … }
extern void gtk_print_settings_to_key_file(GtkPrintSettings* settings, GKeyFile* key_file, const gchar* group_name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_to_key_file(GtkPrintSettings* settings, GKeyFile* key_file, const gchar* group_name) { … }
extern GtkPageSetup* gtk_print_unix_dialog_get_page_setup(GtkPrintUnixDialog* dialog) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPageSetup* gtk_print_unix_dialog_get_page_setup(GtkPrintUnixDialog* dialog) { … }
extern GtkPrinter* gtk_print_unix_dialog_get_selected_printer(GtkPrintUnixDialog* dialog) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPrinter* gtk_print_unix_dialog_get_selected_printer(GtkPrintUnixDialog* dialog) { … }
extern GtkPrintSettings* gtk_print_unix_dialog_get_settings(GtkPrintUnixDialog* dialog) __attribute__((weak));
DISABLE_CFI_ICALL
GtkPrintSettings* gtk_print_unix_dialog_get_settings(GtkPrintUnixDialog* dialog) { … }
extern GtkWidget* gtk_print_unix_dialog_new(const char* title, GtkWindow* parent) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_print_unix_dialog_new(const char* title, GtkWindow* parent) { … }
extern void gtk_print_unix_dialog_set_embed_page_setup(GtkPrintUnixDialog* dialog, gboolean embed) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_unix_dialog_set_embed_page_setup(GtkPrintUnixDialog* dialog, gboolean embed) { … }
extern void gtk_print_unix_dialog_set_has_selection(GtkPrintUnixDialog* dialog, gboolean has_selection) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_unix_dialog_set_has_selection(GtkPrintUnixDialog* dialog, gboolean has_selection) { … }
extern void gtk_print_unix_dialog_set_manual_capabilities(GtkPrintUnixDialog* dialog, GtkPrintCapabilities capabilities) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_unix_dialog_set_manual_capabilities(GtkPrintUnixDialog* dialog, GtkPrintCapabilities capabilities) { … }
extern void gtk_print_unix_dialog_set_settings(GtkPrintUnixDialog* dialog, GtkPrintSettings* settings) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_unix_dialog_set_settings(GtkPrintUnixDialog* dialog, GtkPrintSettings* settings) { … }
extern void gtk_print_unix_dialog_set_support_selection(GtkPrintUnixDialog* dialog, gboolean support_selection) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_unix_dialog_set_support_selection(GtkPrintUnixDialog* dialog, gboolean support_selection) { … }
extern void gtk_render_background(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_render_background(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) { … }
extern void gtk_render_focus(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_render_focus(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) { … }
extern void gtk_render_frame(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_render_frame(GtkStyleContext* context, cairo_t* cr, gdouble x, gdouble y, gdouble width, gdouble height) { … }
extern GtkWidget* gtk_separator_new(GtkOrientation orientation) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_separator_new(GtkOrientation orientation) { … }
extern void gtk_style_context_add_class(GtkStyleContext* context, const gchar* class_name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_add_class(GtkStyleContext* context, const gchar* class_name) { … }
extern void gtk_style_context_add_provider(GtkStyleContext* context, GtkStyleProvider* provider, guint priority) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_add_provider(GtkStyleContext* context, GtkStyleProvider* provider, guint priority) { … }
extern GtkStateFlags gtk_style_context_get_state(GtkStyleContext* context) __attribute__((weak));
DISABLE_CFI_ICALL
GtkStateFlags gtk_style_context_get_state(GtkStyleContext* context) { … }
extern gboolean gtk_style_context_has_class(GtkStyleContext* context, const gchar* class_name) __attribute__((weak));
DISABLE_CFI_ICALL
gboolean gtk_style_context_has_class(GtkStyleContext* context, const gchar* class_name) { … }
extern void gtk_style_context_set_scale(GtkStyleContext* context, gint scale) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_set_scale(GtkStyleContext* context, gint scale) { … }
extern void gtk_style_context_set_state(GtkStyleContext* context, GtkStateFlags flags) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_style_context_set_state(GtkStyleContext* context, GtkStateFlags flags) { … }
extern PangoContext* gtk_widget_get_pango_context(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
PangoContext* gtk_widget_get_pango_context(GtkWidget* widget) { … }
extern GtkWidget* gtk_widget_get_parent(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
GtkWidget* gtk_widget_get_parent(GtkWidget* widget) { … }
extern void gtk_widget_get_preferred_size(GtkWidget* widget, GtkRequisition* minimum_size, GtkRequisition* natural_size) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_get_preferred_size(GtkWidget* widget, GtkRequisition* minimum_size, GtkRequisition* natural_size) { … }
extern gint gtk_widget_get_scale_factor(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
gint gtk_widget_get_scale_factor(GtkWidget* widget) { … }
extern GtkStyleContext* gtk_widget_get_style_context(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
GtkStyleContext* gtk_widget_get_style_context(GtkWidget* widget) { … }
extern void gtk_widget_hide(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_hide(GtkWidget* widget) { … }
extern void gtk_widget_realize(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_realize(GtkWidget* widget) { … }
extern void gtk_widget_set_can_focus(GtkWidget* widget, gboolean can_focus) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_can_focus(GtkWidget* widget, gboolean can_focus) { … }
extern void gtk_widget_set_name(GtkWidget* widget, const gchar* name) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_name(GtkWidget* widget, const gchar* name) { … }
extern void gtk_widget_set_parent(GtkWidget* widget, GtkWidget* parent) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_parent(GtkWidget* widget, GtkWidget* parent) { … }
extern void gtk_widget_set_sensitive(GtkWidget* widget, gboolean sensitive) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_sensitive(GtkWidget* widget, gboolean sensitive) { … }
extern void gtk_widget_set_size_request(GtkWidget* widget, gint width, gint height) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_size_request(GtkWidget* widget, gint width, gint height) { … }
extern void gtk_widget_set_state_flags(GtkWidget* widget, GtkStateFlags flags, gboolean clear) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_set_state_flags(GtkWidget* widget, GtkStateFlags flags, gboolean clear) { … }
extern void gtk_widget_show(GtkWidget* widget) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_widget_show(GtkWidget* widget) { … }
extern void gtk_window_set_modal(GtkWindow* window, gboolean modal) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_window_set_modal(GtkWindow* window, gboolean modal) { … }
extern void gtk_print_settings_set_printer(GtkPrintSettings* settings, const gchar* printer) __attribute__((weak));
DISABLE_CFI_ICALL
void gtk_print_settings_set_printer(GtkPrintSettings* settings, const gchar* printer) { … }
}
namespace ui_gtk {
bool IsGtkInitialized() { … }
void InitializeGtk(void* module) { … }
void UninitializeGtk() { … }
}
extern "C" {
static const char* (*g_file_peek_path_ptr)(GFile* file) = …;
static gpointer (*g_list_model_get_item_ptr)(GListModel* list, guint position) = …;
static guint (*g_list_model_get_n_items_ptr)(GListModel* list) = …;
static GObject* (*g_list_model_get_object_ptr)(GListModel* list, guint position) = …;
extern const char* g_file_peek_path(GFile* file) __attribute__((weak));
DISABLE_CFI_ICALL
const char* g_file_peek_path(GFile* file) { … }
extern gpointer g_list_model_get_item(GListModel* list, guint position) __attribute__((weak));
DISABLE_CFI_ICALL
gpointer g_list_model_get_item(GListModel* list, guint position) { … }
extern guint g_list_model_get_n_items(GListModel* list) __attribute__((weak));
DISABLE_CFI_ICALL
guint g_list_model_get_n_items(GListModel* list) { … }
extern GObject* g_list_model_get_object(GListModel* list, guint position) __attribute__((weak));
DISABLE_CFI_ICALL
GObject* g_list_model_get_object(GListModel* list, guint position) { … }
}
namespace ui_gtk {
bool IsGioInitialized() { … }
void InitializeGio(void* module) { … }
void UninitializeGio() { … }
}
namespace ui_gtk {
StubHandleMap;
static void CloseLibraries(StubHandleMap* stub_handles) { … }
bool InitializeStubs(const StubPathMap& path_map) { … }
}