[glade] Utils: use g_param_spec_uchar() for uchar types
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] Utils: use g_param_spec_uchar() for uchar types
- Date: Thu, 9 Jul 2020 20:55:30 +0000 (UTC)
commit ae04b49cf7003d7baeacdbec266ea1ce5a565125
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Thu Jul 9 16:56:44 2020 -0300
Utils: use g_param_spec_uchar() for uchar types
Fix issue #456 "Crash when editing GtkTreeView liststore entires"
gladeui/glade-utils.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gladeui/glade-utils.c b/gladeui/glade-utils.c
index a7217dbc..c11e2821 100644
--- a/gladeui/glade-utils.c
+++ b/gladeui/glade-utils.c
@@ -1473,9 +1473,9 @@ pdef_from_gtype (GType type)
G_MININT8, G_MAXINT8, 0,
G_PARAM_READABLE | G_PARAM_WRITABLE);
else if (type == G_TYPE_UCHAR)
- pspec = g_param_spec_char ("dummy", "dummy", "dummy",
- 0, G_MAXUINT8, 0,
- G_PARAM_READABLE | G_PARAM_WRITABLE);
+ pspec = g_param_spec_uchar ("dummy", "dummy", "dummy",
+ 0, G_MAXUINT8, 0,
+ G_PARAM_READABLE | G_PARAM_WRITABLE);
else if (type == G_TYPE_BOOLEAN)
pspec = g_param_spec_boolean ("dummy", "dummy", "dummy",
FALSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]