[seahorse/gnome-3-0] cryptui: Fix building of tests with GTK+ 3.0
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse/gnome-3-0] cryptui: Fix building of tests with GTK+ 3.0
- Date: Tue, 12 Apr 2011 18:20:42 +0000 (UTC)
commit 032b3d01cc887ced3fc2a11ce21bb528e9ff4ffc
Author: Stef Walter <stefw collabora co uk>
Date: Tue Apr 12 20:18:23 2011 +0200
cryptui: Fix building of tests with GTK+ 3.0
libcryptui/tests/cryptui-test-ui.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcryptui/tests/cryptui-test-ui.c b/libcryptui/tests/cryptui-test-ui.c
index 8aeea9c..1852b58 100644
--- a/libcryptui/tests/cryptui-test-ui.c
+++ b/libcryptui/tests/cryptui-test-ui.c
@@ -44,7 +44,7 @@ show_ui_dialog (CryptUIKeyset *keyset)
box = GTK_CONTAINER (gtk_vbox_new (FALSE, 6));
gtk_container_set_border_width (box, 6);
- gtk_container_add (GTK_CONTAINER (GTK_DIALOG (dialog)->vbox), GTK_WIDGET (box));
+ gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), GTK_WIDGET (box));
list_store = cryptui_key_store_new (keyset, TRUE, NULL);
list = cryptui_key_list_new (list_store, CRYPTUI_KEY_LIST_CHECKS);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]