[gimp] 6872 gimp-pdb-dump print type of GValue instead of type of GParamSpec
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] 6872 gimp-pdb-dump print type of GValue instead of type of GParamSpec
- Date: Mon, 24 May 2021 16:05:33 +0000 (UTC)
commit 003f137dc039bf0e4d5ccf32957f60efe43674d8
Author: lloyd konneker <konnekerl gmail com>
Date: Thu May 13 16:19:12 2021 -0400
6872 gimp-pdb-dump print type of GValue instead of type of GParamSpec
app/pdb/gimppdb-query.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/pdb/gimppdb-query.c b/app/pdb/gimppdb-query.c
index ec341981e1..238b293c36 100644
--- a/app/pdb/gimppdb-query.c
+++ b/app/pdb/gimppdb-query.c
@@ -424,7 +424,7 @@ gimp_pdb_print_entry (gpointer key,
if (i > 0)
g_string_append_printf (string, " ");
- output_string (string, G_PARAM_SPEC_TYPE_NAME (pspec));
+ output_string (string, g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
}
g_string_append_printf (string, ") (");
@@ -436,7 +436,7 @@ gimp_pdb_print_entry (gpointer key,
if (i > 0)
g_string_append_printf (string, " ");
- output_string (string, G_PARAM_SPEC_TYPE_NAME (pspec))
+ output_string (string, g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
}
g_string_append_printf (string, "))\n");
@@ -474,7 +474,7 @@ gimp_pdb_print_entry (gpointer key,
output_string (string, g_param_spec_get_name (pspec));
g_string_append_printf (string, " ");
- output_string (string, G_PARAM_SPEC_TYPE_NAME (pspec));
+ output_string (string, g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
g_string_append_printf (string, " ");
output_string (string, desc);
@@ -499,7 +499,7 @@ gimp_pdb_print_entry (gpointer key,
output_string (string, g_param_spec_get_name (pspec));
g_string_append_printf (string, " ");
- output_string (string, G_PARAM_SPEC_TYPE_NAME (pspec));
+ output_string (string, g_type_name (G_PARAM_SPEC_VALUE_TYPE (pspec)));
g_string_append_printf (string, " ");
output_string (string, desc);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]