Fix C99ism.

2004-08-16  Morten Welinder  <terra@gnome.org>

	* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
This commit is contained in:
Morten Welinder 2004-08-16 18:33:35 +00:00 committed by Morten Welinder
parent 4a32cde98a
commit 7a3114d73a
5 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-08-16 Morten Welinder <terra@gnome.org>
* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
2004-08-16 Morten Welinder <terra@gnome.org>
* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
2004-08-16 Morten Welinder <terra@gnome.org>
* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.

View File

@ -1,3 +1,7 @@
2004-08-16 Morten Welinder <terra@gnome.org>
* gtk/gtksequence.c (_gtk_sequence_set): Fix C99ism.
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.

View File

@ -1095,9 +1095,11 @@ void
_gtk_sequence_set (GtkSequencePtr ptr,
gpointer data)
{
GtkSequence *seq;
g_return_if_fail (!_gtk_sequence_ptr_is_end (ptr));
GtkSequence *seq = _gtk_sequence_node_get_sequence (ptr);
seq = _gtk_sequence_node_get_sequence (ptr);
if (seq->data_destroy_notify)
seq->data_destroy_notify (ptr->data);
ptr->data = data;