blob: 368380b286aefc029ac6be0dfb23e5e8978fa62a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- gtk+-1.2.10/gdk/gdkselection.c.localecrash Thu Aug 22 16:50:01 2002
+++ gtk+-1.2.10/gdk/gdkselection.c Thu Aug 22 17:50:46 2002
@@ -238,12 +238,14 @@
if (res != Success)
{
property.encoding = None;
- property.format = None;
+ property.format = 8;
property.value = NULL;
property.nitems = 0;
- }
- g_assert (property.encoding == gdk_atom_intern ("COMPOUND_TEXT", FALSE) && property.format == 8);
+ g_warning ("Error converting string to compound text.\n"
+ "This might mean that your locale setting is supported\n"
+ "by the C library but not by Xlib.");
+ }
if (encoding)
*encoding = property.encoding;
|