Rename a local variable to avoid a conflict. (#161109, Robert Ögren) 1

2004-12-12  Matthias Clasen  <mclasen@redhat.com>

	* tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename
	a local variable to avoid a conflict.  (#161109, Robert Ögren)
1
This commit is contained in:
Matthias Clasen 2004-12-13 03:59:39 +00:00 committed by Matthias Clasen
parent f2cddc00a3
commit 24295f3a5f
5 changed files with 25 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2004-12-12 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename
a local variable to avoid a conflict. (#161109, Robert Ögren)
2004-12-12 Tor Lillqvist <tml@iki.fi>
* gtk/gtkaccelmap.[ch]

View File

@ -1,3 +1,8 @@
2004-12-12 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename
a local variable to avoid a conflict. (#161109, Robert Ögren)
2004-12-12 Tor Lillqvist <tml@iki.fi>
* gtk/gtkaccelmap.[ch]

View File

@ -1,3 +1,8 @@
2004-12-12 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename
a local variable to avoid a conflict. (#161109, Robert Ögren)
2004-12-12 Tor Lillqvist <tml@iki.fi>
* gtk/gtkaccelmap.[ch]

View File

@ -1,3 +1,8 @@
2004-12-12 Matthias Clasen <mclasen@redhat.com>
* tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename
a local variable to avoid a conflict. (#161109, Robert Ögren)
2004-12-12 Tor Lillqvist <tml@iki.fi>
* gtk/gtkaccelmap.[ch]

View File

@ -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);