Fix a C99ism. (#321777, Jens Granseuer)

2005-11-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
	(#321777, Jens Granseuer)
This commit is contained in:
Matthias Clasen 2005-11-18 19:56:52 +00:00 committed by Matthias Clasen
parent 58e6fcba9d
commit 478043a1ed
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2005-11-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
(#321777, Jens Granseuer)
* gtk/gtkaction.c (disconnect_proxy): Disconnect the
sync callback for the visibility property. (#321761,
Philip Langdale)

View File

@ -1,5 +1,8 @@
2005-11-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
(#321777, Jens Granseuer)
* gtk/gtkaction.c (disconnect_proxy): Disconnect the
sync callback for the visibility property. (#321761,
Philip Langdale)

View File

@ -931,6 +931,7 @@ button_clicked_cb (GtkWidget *button,
GtkPathBar *path_bar;
GList *button_list;
gboolean child_is_hidden;
GtkFilePath *child_path;
button_data = BUTTON_DATA (data);
if (button_data->ignore_changes)
@ -943,7 +944,6 @@ button_clicked_cb (GtkWidget *button,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), TRUE);
GtkFilePath *child_path;
if (button_list->prev)
{
ButtonData *child_data;