Make gtk_im_modules_init properly private

Putting non-exported symbols in public headers can
only lead to confusion and day drinking. Don't do it.

Fixes: #3676
This commit is contained in:
Matthias Clasen 2021-02-17 15:25:42 -05:00
parent 5a8e2a8c2d
commit 41abda9f03
3 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,6 @@
G_BEGIN_DECLS G_BEGIN_DECLS
void gtk_im_modules_init (void);
#define GTK_IM_MODULE_EXTENSION_POINT_NAME "gtk-im-module" #define GTK_IM_MODULE_EXTENSION_POINT_NAME "gtk-im-module"
G_END_DECLS G_END_DECLS

View File

@ -24,6 +24,8 @@
G_BEGIN_DECLS G_BEGIN_DECLS
void gtk_im_modules_init (void);
void gtk_im_module_ensure_extension_point (void); void gtk_im_module_ensure_extension_point (void);
GtkIMContext * _gtk_im_module_create (const char *context_id); GtkIMContext * _gtk_im_module_create (const char *context_id);
const char * _gtk_im_module_get_default_context_id (GdkDisplay *display); const char * _gtk_im_module_get_default_context_id (GdkDisplay *display);

View File

@ -129,7 +129,7 @@
#include "gtkwindowprivate.h" #include "gtkwindowprivate.h"
#include "gtkwindowgroup.h" #include "gtkwindowgroup.h"
#include "gtkprintbackendprivate.h" #include "gtkprintbackendprivate.h"
#include "gtkimmodule.h" #include "gtkimmoduleprivate.h"
#include "gtkroot.h" #include "gtkroot.h"
#include "gtknative.h" #include "gtknative.h"
#include "gtkpopcountprivate.h" #include "gtkpopcountprivate.h"