[gimp] app: cast another argument to g_object_ref() in gimp_tool_info_new()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: cast another argument to g_object_ref() in gimp_tool_info_new()
- Date: Sun, 22 Apr 2018 23:28:36 +0000 (UTC)
commit b1a36b044ba07551ddc0ae37799ce63b47a6af9d
Author: Michael Natterer <mitch gimp org>
Date: Mon Apr 23 01:07:04 2018 +0200
app: cast another argument to g_object_ref() in gimp_tool_info_new()
app/core/gimptoolinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimptoolinfo.c b/app/core/gimptoolinfo.c
index bde27ff..2da88ff 100644
--- a/app/core/gimptoolinfo.c
+++ b/app/core/gimptoolinfo.c
@@ -236,7 +236,7 @@ gimp_tool_info_new (Gimp *gimp,
if (tool_info->tool_options_type == paint_info->paint_options_type)
{
- tool_info->tool_options = g_object_ref (paint_info->paint_options);
+ tool_info->tool_options = g_object_ref (GIMP_TOOL_OPTIONS (paint_info->paint_options));
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]