libgimpwidgets: make using GimpColorProfileComboBox easier

Desktop / GNOME / GIMP - Michael Natterer [gimp.org] - 4 April 2014 10:09 UTC

If the passed dialog is a GimpColorProfileChooserDialog, handle its "response" signal automatically and also destroy it when the combo box is destroyed (before we leaked all dialogs). Remove the same callback from all places using GimpColorProfileComboBox.

661317f libgimpwidgets: make using GimpColorProfileComboBox easier
app/dialogs/preferences-dialog.c | 26 ----------------
libgimpwidgets/gimpcolorprofilecombobox.c | 46 +++++++++++++++++++++++++++++
modules/display-filter-proof.c | 24 ---------------
plug-ins/common/lcms.c | 27 +----------------
4 files changed, 47 insertions(+), 76 deletions(-)

Upstream: git.gnome.org


  • Share