diff --git a/ChangeLog b/ChangeLog index 5869af1c67..3c132289a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-12 Matthias Clasen + + * tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename + a local variable to avoid a conflict. (#161109, Robert Ögren) + 2004-12-12 Tor Lillqvist * gtk/gtkaccelmap.[ch] diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5869af1c67..3c132289a4 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2004-12-12 Matthias Clasen + + * tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename + a local variable to avoid a conflict. (#161109, Robert Ögren) + 2004-12-12 Tor Lillqvist * gtk/gtkaccelmap.[ch] diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 5869af1c67..3c132289a4 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2004-12-12 Matthias Clasen + + * tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename + a local variable to avoid a conflict. (#161109, Robert Ögren) + 2004-12-12 Tor Lillqvist * gtk/gtkaccelmap.[ch] diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 5869af1c67..3c132289a4 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2004-12-12 Matthias Clasen + + * tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename + a local variable to avoid a conflict. (#161109, Robert Ögren) + 2004-12-12 Tor Lillqvist * gtk/gtkaccelmap.[ch] diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c index e93d6c2ed1..e4774e5ee6 100644 --- a/tests/testfilechooserbutton.c +++ b/tests/testfilechooserbutton.c @@ -76,7 +76,7 @@ tests_button_clicked_cb (GtkWidget *button, if (tests == NULL) { - GtkWidget *box, *button; + GtkWidget *box, *button1; tests = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (tests), @@ -89,11 +89,11 @@ tests_button_clicked_cb (GtkWidget *button, gtk_container_add (GTK_CONTAINER (tests), box); gtk_widget_show (box); - button = gtk_button_new_with_label ("Print Selected Path"); - g_signal_connect (button, "clicked", + button1 = gtk_button_new_with_label ("Print Selected Path"); + g_signal_connect (button1, "clicked", G_CALLBACK (print_selected_path_clicked_cb), user_data); - gtk_box_pack_start (GTK_BOX (box), button, FALSE, FALSE, 0); - gtk_widget_show (button); + gtk_box_pack_start (GTK_BOX (box), button1, FALSE, FALSE, 0); + gtk_widget_show (button1); g_signal_connect (tests, "delete-event", G_CALLBACK (delete_event_cb), NULL); g_object_set_data (user_data, "tests-dialog", tests);