[gimp] libgimp: g_object_get() wants a pointer to the variable, gah...
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimp: g_object_get() wants a pointer to the variable, gah...
- Date: Sat, 24 Aug 2019 00:34:30 +0000 (UTC)
commit 18c95e6faccd901ce68f7f63d3bb0b7851fc4301
Author: Michael Natterer <mitch gimp org>
Date: Sat Aug 24 02:33:08 2019 +0200
libgimp: g_object_get() wants a pointer to the variable, gah...
libgimp/gimpgpparams-body.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimp/gimpgpparams-body.c b/libgimp/gimpgpparams-body.c
index c33b624be3..bf285d55f9 100644
--- a/libgimp/gimpgpparams-body.c
+++ b/libgimp/gimpgpparams-body.c
@@ -681,7 +681,7 @@ _gimp_value_to_gp_param (const GValue *value,
gint id = -1;
if (object)
- g_object_get (object, "id", id, NULL);
+ g_object_get (object, "id", &id, NULL);
param->param_type = GP_PARAM_TYPE_INT;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]