diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-10-22 05:59:05 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 01:51:18 +0200 |
commit | 8d38057de5faf8ac98329bcdc3992b7ec7fa0dfe (patch) | |
tree | e84e7830a1b92ba8be741c5965b2f49b531c9774 /docs/faq | |
parent | 20342702f49693229dfde4588823744ab5e68e95 (diff) | |
download | gtk+-8d38057de5faf8ac98329bcdc3992b7ec7fa0dfe.tar.gz |
Remove deprecated GtkEntry stuff from docs and tutorial.
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
Diffstat (limited to 'docs/faq')
-rw-r--r-- | docs/faq/gtk-faq.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml index 01c71d3bea..508d2310bb 100644 --- a/docs/faq/gtk-faq.sgml +++ b/docs/faq/gtk-faq.sgml @@ -2527,15 +2527,15 @@ using the following expression:</para> <para>If you don't want the user to be able to modify the content of this entry, you can use the -gtk_entry_set_editable() function:</para> +gtk_editable_set_editable() function:</para> <programlisting role="C"> - void gtk_entry_set_editable(GtkEntry *entry, - gboolean editable); +void gtk_editable_set_editable (GtkEditable *editable, + gboolean is_editable); </programlisting> -<para>Set the editable parameter to FALSE to disable typing +<para>Set the is_editable parameter to FALSE to disable typing into the entry.</para> </sect1> |