From 28d2e608f9f0c338d451e90d5c4b859f373552b5 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 9 Oct 2020 19:56:21 -0700 Subject: [PATCH] macos: move input method names to private header --- gdk/macos/GdkMacosBaseView.c | 13 ------------- gdk/macos/gdkmacosdisplay-private.h | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/gdk/macos/GdkMacosBaseView.c b/gdk/macos/GdkMacosBaseView.c index c6750dfdb9..24be4af00e 100644 --- a/gdk/macos/GdkMacosBaseView.c +++ b/gdk/macos/GdkMacosBaseView.c @@ -30,19 +30,6 @@ #include "gdkmacosdisplay-private.h" #include "gdkmacossurface-private.h" -/* Text Input Client */ -#define TIC_MARKED_TEXT "tic-marked-text" -#define TIC_SELECTED_POS "tic-selected-pos" -#define TIC_SELECTED_LEN "tic-selected-len" -#define TIC_INSERT_TEXT "tic-insert-text" -#define TIC_IN_KEY_DOWN "tic-in-key-down" - -/* GtkIMContext */ -#define GIC_CURSOR_RECT "gic-cursor-rect" -#define GIC_FILTER_KEY "gic-filter-key" -#define GIC_FILTER_PASSTHRU 0 -#define GIC_FILTER_FILTERED 1 - @implementation GdkMacosBaseView -(id)initWithFrame:(NSRect)frameRect diff --git a/gdk/macos/gdkmacosdisplay-private.h b/gdk/macos/gdkmacosdisplay-private.h index 7638f87be3..a60ab0c6ac 100644 --- a/gdk/macos/gdkmacosdisplay-private.h +++ b/gdk/macos/gdkmacosdisplay-private.h @@ -30,6 +30,19 @@ G_BEGIN_DECLS +/* Text Input Client */ +#define TIC_MARKED_TEXT "tic-marked-text" +#define TIC_SELECTED_POS "tic-selected-pos" +#define TIC_SELECTED_LEN "tic-selected-len" +#define TIC_INSERT_TEXT "tic-insert-text" +#define TIC_IN_KEY_DOWN "tic-in-key-down" + +/* GtkIMContext */ +#define GIC_CURSOR_RECT "gic-cursor-rect" +#define GIC_FILTER_KEY "gic-filter-key" +#define GIC_FILTER_PASSTHRU 0 +#define GIC_FILTER_FILTERED 1 + struct _GdkMacosDisplay { GdkDisplay parent_instance;