diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-24 04:33:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-07-24 04:33:23 +0800 |
commit | b15f1d149b199101455906db8d5eb893bdc2b733 (patch) | |
tree | 6ff16c3e95a020135b0ada31be1e767abaf8f00a /x11/libxklavier/files | |
parent | b41f21b0518f5e38496d3939f399a4be14961e38 (diff) | |
download | marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.tar marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.tar.gz marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.tar.bz2 marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.tar.lz marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.tar.xz marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.tar.zst marcuscom-ports-b15f1d149b199101455906db8d5eb893bdc2b733.zip |
Fix a crash that can occur when starting GNOME out of VNC.
Obtained from: http://bugzilla.gnome.org/show_bug.cgi?id=346980
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6721 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/libxklavier/files')
-rw-r--r-- | x11/libxklavier/files/patch-libxklavier_xklavier_config.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/libxklavier/files/patch-libxklavier_xklavier_config.c b/x11/libxklavier/files/patch-libxklavier_xklavier_config.c new file mode 100644 index 000000000..889c14b89 --- /dev/null +++ b/x11/libxklavier/files/patch-libxklavier_xklavier_config.c @@ -0,0 +1,15 @@ +--- libxklavier/xklavier_config.c 2006-04-15 22:04:38.000000000 -0400 ++++ libxklavier/xklavier_config.c 2006-07-08 10:15:17.000000000 -0400 +@@ -275,7 +275,11 @@ + gchar * + xkl_strings_concat_comma_separated(gchar ** array) + { +- return g_strjoinv(",", array); ++ if (array) { ++ return g_strjoinv(",", array); ++ } else { ++ return g_strdup(""); ++ } + } + + void |