summaryrefslogtreecommitdiff
path: root/liblightdm-gobject
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-12-20 11:29:17 -0500
committerMichael Terry <michael.terry@canonical.com>2011-12-20 11:29:17 -0500
commit49b0dc242d81245f8c5068538372bfba1ca0568d (patch)
treee2a8fda981a7bbfa396bf1d0839fbeb95eee800f /liblightdm-gobject
parentb62dc21deddd6b4faee59158779d21da7da6e25c (diff)
downloadlightdm-49b0dc242d81245f8c5068538372bfba1ca0568d.tar.gz
fix typo that prevented lightdm_get_layout from working
Diffstat (limited to 'liblightdm-gobject')
-rw-r--r--liblightdm-gobject/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblightdm-gobject/layout.c b/liblightdm-gobject/layout.c
index 1fb89bc1..6e5442f7 100644
--- a/liblightdm-gobject/layout.c
+++ b/liblightdm-gobject/layout.c
@@ -116,7 +116,7 @@ lightdm_get_layout (void)
{
lightdm_get_layouts ();
if (layouts)
- return (LightDMLayout *) g_list_first (layouts);
+ return (LightDMLayout *) g_list_first (layouts)->data;
else
return NULL;
}