Commit 8597f100 authored by Soeren Sandmann's avatar Soeren Sandmann Committed by Søren Sandmann Pedersen

Make it compile with C89 compilers.

Fri Jun 27 03:56:59 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Make
	it compile with C89 compilers.

Thu Jun 26 21:41:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktreeviewcolumn.c
	(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
	and "is_expanded" if the new value is different fromt he old one.
parent 74275373
Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
and "is_expanded" if the new value is different fromt he old one.
Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org> Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Fix typos. Update * docs/faq/gtk-faq.sgml: Fix typos. Update
......
Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
and "is_expanded" if the new value is different fromt he old one.
Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org> Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Fix typos. Update * docs/faq/gtk-faq.sgml: Fix typos. Update
......
Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
and "is_expanded" if the new value is different fromt he old one.
Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org> Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Fix typos. Update * docs/faq/gtk-faq.sgml: Fix typos. Update
......
Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
and "is_expanded" if the new value is different fromt he old one.
Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org> Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Fix typos. Update * docs/faq/gtk-faq.sgml: Fix typos. Update
......
Thu Jun 26 21:41:16 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
and "is_expanded" if the new value is different fromt he old one.
Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org> Wed Jun 25 18:59:15 BST 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Fix typos. Update * docs/faq/gtk-faq.sgml: Fix typos. Update
......
Fri Jun 27 03:56:59 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Make
it compile with C89 compilers.
2003-06-23 Matthias Clasen <maclas@gmx.de> 2003-06-23 Matthias Clasen <maclas@gmx.de>
* io-gif.c (gif_get_frame_info): Remove the pointless refusal to load images with dubious * io-gif.c (gif_get_frame_info): Remove the pointless refusal to load images with dubious
......
...@@ -439,11 +439,13 @@ gdk_pixbuf_gif_anim_frame_composite (GdkPixbufGifAnim *gif_anim, ...@@ -439,11 +439,13 @@ gdk_pixbuf_gif_anim_frame_composite (GdkPixbufGifAnim *gif_anim,
f->need_recomposite = FALSE; f->need_recomposite = FALSE;
} else { } else {
GdkPixbufFrame *prev_frame; GdkPixbufFrame *prev_frame;
gint prev_clipped_width;
gint prev_clipped_height;
prev_frame = tmp->prev->data; prev_frame = tmp->prev->data;
gint prev_clipped_width = MIN (gif_anim->width - prev_frame->x_offset, gdk_pixbuf_get_width (prev_frame->pixbuf)); prev_clipped_width = MIN (gif_anim->width - prev_frame->x_offset, gdk_pixbuf_get_width (prev_frame->pixbuf));
gint prev_clipped_height = MIN (gif_anim->height - prev_frame->y_offset, gdk_pixbuf_get_height (prev_frame->pixbuf)); prev_clipped_height = MIN (gif_anim->height - prev_frame->y_offset, gdk_pixbuf_get_height (prev_frame->pixbuf));
/* Init f->composited with what we should have after the previous /* Init f->composited with what we should have after the previous
* frame * frame
......
...@@ -2368,7 +2368,12 @@ gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column, ...@@ -2368,7 +2368,12 @@ gtk_tree_view_column_cell_set_cell_data (GtkTreeViewColumn *tree_column,
list = info->attributes; list = info->attributes;
g_object_freeze_notify (cell); g_object_freeze_notify (cell);
g_object_set (cell, "is_expander", is_expander, "is_expanded", is_expanded, NULL);
if (info->cell->is_expander != is_expander)
g_object_set (cell, "is_expander", is_expander, NULL);
if (info->cell->is_expanded != is_expanded)
g_object_set (cell, "is_expanded", is_expanded, NULL);
while (list && list->next) while (list && list->next)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment