mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Don't use image->attach_points where image->n_attach_points was meant.
2007-09-07 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c (get_image_meta_data_size): Don't use image->attach_points where image->n_attach_points was meant. Pointed out by Albert Chin. svn path=/trunk/; revision=18756
This commit is contained in:
parent
e1cf3b525b
commit
1e85985083
@ -1,3 +1,9 @@
|
||||
2007-09-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/updateiconcache.c (get_image_meta_data_size): Don't
|
||||
use image->attach_points where image->n_attach_points was meant.
|
||||
Pointed out by Albert Chin.
|
||||
|
||||
2007-09-07 Wouter Bolsterlee <wbolster@svn.gnome.org>
|
||||
|
||||
* modules/printbackends/cups/gtkcupsutils.c:
|
||||
|
@ -971,7 +971,7 @@ get_image_meta_data_size (Image *image)
|
||||
data->size = 0;
|
||||
|
||||
if (data->has_embedded_rect ||
|
||||
data->attach_points > 0 ||
|
||||
data->n_attach_points > 0 ||
|
||||
data->n_display_names > 0)
|
||||
data->size += 12;
|
||||
|
||||
@ -997,11 +997,8 @@ get_image_meta_data_size (Image *image)
|
||||
* pool in case the same string occurs twice
|
||||
* during a get_single_node_size() calculation.
|
||||
*/
|
||||
//g_print ("adding non-written out string %s\n", data->display_names[i]);
|
||||
add_string (data->display_names[i], -1);
|
||||
}
|
||||
//else
|
||||
//g_print ("found string %s in pool: %d\n", data->display_names[i], poolv);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user