~ubuntu-branches/ubuntu/gutsy/gimp/gutsy

« back to all changes in this revision

Viewing changes to app/base/gimphistogram.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-06-22 17:33:56 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070622173356-ncevaebpjiwyxkif
Tags: 2.3.18-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/control: Maintainer change.
  - debian/patches/02_help-message.patch,
    debian/patches/03_gimp.desktop.in.in.patch,
    debian/patches/10_dont_show_wizard.patch: Distro patches.
  - debian/rules:
    - use dh_iconcache,
    - i18n magic.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
GimpHistogram *
67
67
gimp_histogram_new (void)
68
68
{
69
 
  GimpHistogram *histogram = g_new0 (GimpHistogram, 1);
 
69
  GimpHistogram *histogram = g_slice_new0 (GimpHistogram);
70
70
 
71
71
#ifdef ENABLE_MP
72
72
  g_static_mutex_init (&histogram->mutex);
81
81
  g_return_if_fail (histogram != NULL);
82
82
 
83
83
  gimp_histogram_free_values (histogram);
84
 
  g_free (histogram);
 
84
  g_slice_free (GimpHistogram, histogram);
85
85
}
86
86
 
87
87
void