[gtk+] filechooser: Fix cast



commit 8d6ef3b8650d42634502ab657b4421c5d9e11c89
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Feb 13 11:14:36 2013 -0600

    filechooser: Fix cast

 gtk/tests/filechooser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/tests/filechooser.c b/gtk/tests/filechooser.c
index 1039c40..53862a4 100644
--- a/gtk/tests/filechooser.c
+++ b/gtk/tests/filechooser.c
@@ -382,7 +382,7 @@ test_file_chooser_button_dialog_cancel (void)
 
   children = gtk_container_get_children (GTK_CONTAINER (fc_button));
   g_assert (children && GTK_IS_BUTTON (children->data));
-  gtk_button_clicked (GTK_WIDGET (children->data));
+  gtk_button_clicked (GTK_BUTTON (children->data));
   g_list_free (children);
 
   wait_for_idle ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]