Commit 12df7960 authored by Jehan's avatar Jehan

Bug 788442 - Gimp crashes not using GEGL Operation tool.

Properly set the pointer as a weak pointer, same as in GimpOperationTool
parent class, to make sure it is resetted to NULL upon destruction.
parent e06a18b9
......@@ -476,6 +476,8 @@ gimp_gegl_tool_dialog (GimpFilterTool *filter_tool)
/* The options vbox */
o_tool->options_gui =
gtk_label_new (_("Select an operation from the list above"));
g_object_add_weak_pointer (G_OBJECT (o_tool->options_gui),
(gpointer) &o_tool->options_gui);
gimp_label_set_attributes (GTK_LABEL (o_tool->options_gui),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment