[seahorse] Removed deprecated GTK macro



commit be62ac21f22b102aa5404037f008087502a1bdca
Author: Pablo Castellano <pablog src gnome org>
Date:   Sun May 16 18:28:19 2010 +0200

    Removed deprecated GTK macro
    
    GTK_WIDGET_VISIBLE -> gtk_widget_get_visible

 pkcs11/seahorse-pkcs11-commands.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/seahorse-pkcs11-commands.c b/pkcs11/seahorse-pkcs11-commands.c
index 8580741..8c2200a 100644
--- a/pkcs11/seahorse-pkcs11-commands.c
+++ b/pkcs11/seahorse-pkcs11-commands.c
@@ -75,7 +75,7 @@ seahorse_pkcs11_commands_show_properties (SeahorseCommands *cmds, SeahorseObject
 	previous = g_object_get_qdata (G_OBJECT (object), slot_certificate_window);
 	if (GTK_IS_WINDOW (previous)) {
 		window = GTK_WINDOW (previous);
-		if (GTK_WIDGET_VISIBLE (window)) {
+		if (gtk_widget_get_visible (GTK_WIDGET (window))) {
 			gtk_window_present (window);
 			return;
 		}



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