[gimp] app: cast g_object_ref() argument in gimp_plug_in_proc_frame_init()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: cast g_object_ref() argument in gimp_plug_in_proc_frame_init()
- Date: Sat, 14 Apr 2018 19:15:40 +0000 (UTC)
commit d528f80c16735f35f9d61f099323c1f246b27ecc
Author: Michael Natterer <mitch gimp org>
Date: Sat Apr 14 21:14:52 2018 +0200
app: cast g_object_ref() argument in gimp_plug_in_proc_frame_init()
app/plug-in/gimppluginprocframe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/plug-in/gimppluginprocframe.c b/app/plug-in/gimppluginprocframe.c
index 56a91fc..60f6886 100644
--- a/app/plug-in/gimppluginprocframe.c
+++ b/app/plug-in/gimppluginprocframe.c
@@ -77,7 +77,7 @@ gimp_plug_in_proc_frame_init (GimpPlugInProcFrame *proc_frame,
proc_frame->main_context = g_object_ref (context);
proc_frame->context_stack = NULL;
- proc_frame->procedure = procedure ? g_object_ref (procedure) : NULL;
+ proc_frame->procedure = procedure ? g_object_ref (GIMP_PROCEDURE (procedure)) : NULL;
proc_frame->main_loop = NULL;
proc_frame->return_vals = NULL;
proc_frame->progress = progress ? g_object_ref (progress) : NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]