[epiphany/peas] ephy-shell: get_lockdown returns session not lockdown



commit 50c879caa60b41d84f24ff2a19132c86af510ad8
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Sun Apr 3 08:43:05 2011 -0500

    ephy-shell: get_lockdown returns session not lockdown

 src/ephy-shell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 8446134..a3149c5 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -548,7 +548,7 @@ ephy_shell_get_lockdown (EphyShell *shell)
 		shell->priv->lockdown = g_object_new (EPHY_TYPE_LOCKDOWN, NULL);
 	}
 
-	return G_OBJECT (shell->priv->session);
+	return G_OBJECT (shell->priv->lockdown);
 }
 
 /**



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