summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-12 17:38:15 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-12 17:38:15 +1000
commit2d2e4a41ac6b76eca598cfd8c515153157ad78b6 (patch)
treee41977fd4bd265890b9d01dd415b2fb9c10ef54d
parent692082e6973063ed91b5cea3231cd9d49f4ea77f (diff)
downloadlightdm-2d2e4a41ac6b76eca598cfd8c515153157ad78b6.tar.gz
Fix new show_prompt signal
-rw-r--r--doc/tmpl/greeter.sgml1
-rw-r--r--liblightdm-gobject/greeter.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/tmpl/greeter.sgml b/doc/tmpl/greeter.sgml
index 2f06c76c..9a98c1b2 100644
--- a/doc/tmpl/greeter.sgml
+++ b/doc/tmpl/greeter.sgml
@@ -124,6 +124,7 @@ g_object_connect (G_OBJECT (greeter), "quit", G_CALLBACK (quit_cb), NULL);
@ldmgreeter: the object which received the signal.
@arg1:
+@Param3:
<!-- ##### SIGNAL LdmGreeter::timed-login ##### -->
<para>
diff --git a/liblightdm-gobject/greeter.c b/liblightdm-gobject/greeter.c
index 7615ecdb..1f3333d1 100644
--- a/liblightdm-gobject/greeter.c
+++ b/liblightdm-gobject/greeter.c
@@ -1947,7 +1947,7 @@ ldm_greeter_class_init (LdmGreeterClass *klass)
G_STRUCT_OFFSET (LdmGreeterClass, show_prompt),
NULL, NULL,
marshal_VOID__STRING_INT,
- G_TYPE_NONE, 1, G_TYPE_STRING, G_TYPE_INT);
+ G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_INT);
/**
* LdmGreeter::show-message: