get_image_meta_data_size() and use of image->attach_points in	gtk+-2.10.14
- From: Albert Chin <gtk-devel-list mlists thewrittenword com>
- To: gtk-devel-list gnome org
- Subject: get_image_meta_data_size() and use of image->attach_points in	gtk+-2.10.14
- Date: Thu, 16 Aug 2007 14:54:24 -0500
gtk/updateiconcache.c has:
  guint
  get_image_meta_data_size (Image *image)
  {
    gint i;
    guint len = 0;
    if (image->has_embedded_rect ||
        image->attach_points > 0 ||
        image->n_display_names > 0)
      len += 12;
However, Image is:
  typedef struct
  {
    ...
    int n_attach_points;
    int *attach_points;
    ...
  } Image;
Are you sure you want image->attach_points above and not
image->n_attach_points?
-- 
albert chin (china thewrittenword com)
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]