[gimp/gtk3-port: 393/460] app: use the passed parent's toplevel in gimp_color_dialog_new()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 393/460] app: use the passed parent's toplevel in gimp_color_dialog_new()
- Date: Sun, 20 May 2018 15:44:38 +0000 (UTC)
commit a93ee393a613748b8b4f443006b603fa1924da10
Author: Michael Natterer <mitch gimp org>
Date: Thu May 10 17:59:50 2018 +0200
app: use the passed parent's toplevel in gimp_color_dialog_new()
app/widgets/gimpcolordialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpcolordialog.c b/app/widgets/gimpcolordialog.c
index 152b587..9beff53 100644
--- a/app/widgets/gimpcolordialog.c
+++ b/app/widgets/gimpcolordialog.c
@@ -245,7 +245,7 @@ gimp_color_dialog_new (GimpViewable *viewable,
"icon-name", icon_name,
"description", desc,
"context", context,
- "parent", parent,
+ "parent", gtk_widget_get_toplevel (parent),
"use-header-bar", use_header_bar,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]