mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 10:55:23 -05:00
234e7980b5
* gnu/packages/patches/gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch: New file. * gnu/packages/gtk.scm (gtk+)[source]: Add it. * gnu/local.mk (dist_patch_DATA): Add it.
15 lines
565 B
Diff
15 lines
565 B
Diff
This patch replaces the environment variable "GTK_IM_MODULE" with
|
|
"GUIX_GTK3_IM_MODULE_FILE" to prevent this version of GTK+ from loading input
|
|
method modules for other major versions of GTK+.
|
|
|
|
--- gtk+-3.20.3/gtk/deprecated/gtkrc.c 2016-08-21 22:40:48.168437905 +0200
|
|
+++ gtk+-3.20.3/gtk/deprecated/gtkrc.c 2016-08-23 10:12:09.097070097 +0200
|
|
@@ -768,7 +768,7 @@
|
|
gchar *
|
|
gtk_rc_get_im_module_file (void)
|
|
{
|
|
- const gchar *var = g_getenv ("GTK_IM_MODULE_FILE");
|
|
+ const gchar *var = g_getenv ("GUIX_GTK3_IM_MODULE_FILE");
|
|
gchar *result = NULL;
|
|
|
|
if (var)
|