[gtk+] Don't use g_value_set_char
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't use g_value_set_char
- Date: Wed, 2 Nov 2011 01:19:04 +0000 (UTC)
commit 4460cac3edb7a774c83aa2bde74361c0a96e52a4
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 1 21:18:27 2011 -0400
Don't use g_value_set_char
gtk/gtkbuilder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 74a5999..10373f6 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -1437,7 +1437,7 @@ gtk_builder_value_from_string_type (GtkBuilder *builder,
switch (G_TYPE_FUNDAMENTAL (type))
{
case G_TYPE_CHAR:
- g_value_set_char (value, string[0]);
+ g_value_set_schar (value, string[0]);
break;
case G_TYPE_UCHAR:
g_value_set_uchar (value, (guchar)string[0]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]