[seahorse] Remove deprecated GTK+ symbol



commit 9d9a893ba9fb335f69284567c0ccf35feb23bdfb
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Mar 31 23:49:21 2010 +0200

    Remove deprecated GTK+ symbol
    
    Use gtk_widget_is_toplevel() instead GTK_WIDGET_TOPLEVEL()

 libseahorse/seahorse-util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libseahorse/seahorse-util.c b/libseahorse/seahorse-util.c
index 6ee00e7..96bbde1 100644
--- a/libseahorse/seahorse-util.c
+++ b/libseahorse/seahorse-util.c
@@ -77,7 +77,7 @@ seahorse_util_show_error (GtkWidget *parent, const gchar *heading, const gchar *
 		} else {
 			if (!GTK_IS_WINDOW (parent)) 
 				parent = gtk_widget_get_toplevel (parent);
-			if (!GTK_IS_WINDOW (parent) && GTK_WIDGET_TOPLEVEL (parent))
+			if (!GTK_IS_WINDOW (parent) && gtk_widget_is_toplevel (parent))
 				parent = NULL;
 		}
 	}
@@ -151,7 +151,7 @@ seahorse_util_prompt_delete (const gchar *text, GtkWidget *parent)
 		} else {
 			if (!GTK_IS_WINDOW (parent)) 
 				parent = gtk_widget_get_toplevel (parent);
-			if (!GTK_IS_WINDOW (parent) && GTK_WIDGET_TOPLEVEL (parent))
+			if (!GTK_IS_WINDOW (parent) && gtk_widget_is_toplevel (parent))
 				parent = NULL;
 		}
 	}



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