[seahorse] [pkcs11] Fix build issues on gtk+-3.0



commit 2d13926f655d8c0a525eb56ecfe10f81824ec0dd
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Tue Oct 19 02:03:49 2010 +0000

    [pkcs11] Fix build issues on gtk+-3.0

 pkcs11/seahorse-pkcs11-certificate-props.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pkcs11/seahorse-pkcs11-certificate-props.c b/pkcs11/seahorse-pkcs11-certificate-props.c
index fb44e95..fea7d97 100644
--- a/pkcs11/seahorse-pkcs11-certificate-props.c
+++ b/pkcs11/seahorse-pkcs11-certificate-props.c
@@ -57,7 +57,7 @@ seahorse_pkcs11_certificate_props_init (SeahorsePkcs11CertificateProps *self)
 	GtkWidget *button;
 	
 	pv->tabs = GTK_NOTEBOOK (gtk_notebook_new ());
-	gtk_container_add (GTK_CONTAINER (GTK_DIALOG (self)->vbox), GTK_WIDGET (pv->tabs));
+	gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (self))), GTK_WIDGET (pv->tabs));
 	gtk_container_set_border_width (GTK_CONTAINER (self), 5);
 	gtk_container_set_border_width (GTK_CONTAINER (pv->tabs), 5);
 	gtk_widget_show (GTK_WIDGET (pv->tabs));
@@ -69,8 +69,6 @@ seahorse_pkcs11_certificate_props_init (SeahorsePkcs11CertificateProps *self)
 	button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
 	gtk_dialog_add_action_widget (GTK_DIALOG (self), button, GTK_RESPONSE_CLOSE);
 	gtk_widget_show (button);
-	
-	gtk_dialog_set_has_separator (GTK_DIALOG (self), FALSE);
 }
 
 static void



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