summaryrefslogtreecommitdiff
path: root/docs/faq
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-10-22 05:59:05 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:51:18 +0200
commit8d38057de5faf8ac98329bcdc3992b7ec7fa0dfe (patch)
treee84e7830a1b92ba8be741c5965b2f49b531c9774 /docs/faq
parent20342702f49693229dfde4588823744ab5e68e95 (diff)
downloadgtk+-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.sgml8
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>