[gthumb/ext] call the enhance command "enhance colors"



commit d7a666dd09aa438c592c3b4087695e1144fa74e5
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Sep 19 20:14:45 2009 +0200

    call the enhance command "enhance colors"

 extensions/file_tools/gth-file-tool-enhance.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/file_tools/gth-file-tool-enhance.c b/extensions/file_tools/gth-file-tool-enhance.c
index 38e47ae..a4d7da7 100644
--- a/extensions/file_tools/gth-file-tool-enhance.c
+++ b/extensions/file_tools/gth-file-tool-enhance.c
@@ -208,7 +208,7 @@ adjust_levels_release (GthPixbufTask *pixop,
 	if (error == NULL)
 		gth_image_viewer_page_set_pixbuf (GTH_IMAGE_VIEWER_PAGE (data->viewer_page), pixop->dest, TRUE);
 
-	gth_histogram_free (data->hist);
+	g_object_unref (data->hist);
 	g_free (data->levels);
 	g_object_unref (data->viewer_page);
 	g_free (data);
@@ -271,7 +271,7 @@ gth_file_tool_enhance_update_sensitivity (GthFileTool *base)
 static void
 gth_file_tool_enhance_instance_init (GthFileToolEnhance *self)
 {
-	gth_file_tool_construct (GTH_FILE_TOOL (self), GTK_STOCK_EDIT /* FIXME GTH_STOCK_ENHANCE */, _("White Balance"), NULL, FALSE);
+	gth_file_tool_construct (GTH_FILE_TOOL (self), GTK_STOCK_EDIT /* FIXME GTH_STOCK_ENHANCE */, _("Enhance Colors"), NULL, TRUE);
 	gtk_widget_set_tooltip_text (GTK_WIDGET (self), _("Automatic white balance correction"));
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]