LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File nm-novellvpn-toplevel.patch of Package NetworkManager-novellvpn (Project network:vpn)

diff --git a/properties/nm-novellvpn.c b/properties/nm-novellvpn.c
index baff5c0..ba4b8c2 100644
--- a/properties/nm-novellvpn.c
+++ b/properties/nm-novellvpn.c
@@ -680,7 +680,7 @@ advanced_button_clicked_cb (GtkWidget *button, gpointer user_data)
 	GtkWidget *dialog, *toplevel;
 
 	toplevel = gtk_widget_get_toplevel (priv->widget);
-	g_return_if_fail (GTK_WIDGET_TOPLEVEL (toplevel));
+	g_return_if_fail (gtk_widget_is_toplevel (toplevel));
 
 	dialog = advanced_dialog_new (priv->advanced);
 	if (!dialog) {