[gtk+] filechooser: Fix cast
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooser: Fix cast
- Date: Thu, 14 Feb 2013 00:14:02 +0000 (UTC)
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]