[gtk+/gtk-2-24] filechooser: Fix cast



commit c7cae86568a7f0e617704b488603c885f370ebc0
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 6e5cad7..edf89ec 100644
--- a/gtk/tests/filechooser.c
+++ b/gtk/tests/filechooser.c
@@ -386,7 +386,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]