summaryrefslogtreecommitdiff
path: root/docs/faq
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2009-11-09 09:20:33 +0100
committerJavier Jardón <jjardon@gnome.org>2010-05-03 01:51:19 +0200
commit2c774ffdcdd37b4262fbc1025cc57eedc032d7b1 (patch)
tree145ee7f48908f85220d5fb023646332cfcc20002 /docs/faq
parent8d9e37f40777118d55086ad329318f6657e62397 (diff)
downloadgtk+-2c774ffdcdd37b4262fbc1025cc57eedc032d7b1.tar.gz
Substitute deprecated stuff from GtkContainer in documentation
Diffstat (limited to 'docs/faq')
-rw-r--r--docs/faq/gtk-faq.sgml4
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/faq/gtk-faq.sgml b/docs/faq/gtk-faq.sgml
index 508d2310bb..493d61ece8 100644
--- a/docs/faq/gtk-faq.sgml
+++ b/docs/faq/gtk-faq.sgml
@@ -1629,11 +1629,7 @@ int main(int argc, char *argv[])
g_signal_connect(G_OBJECT (window), "destroy",
G_CALLBACK(destroy), NULL);
-#if (GTK_MAJOR_VERSION == 1) &amp;&amp; (GTK_MINOR_VERSION == 0)
- gtk_container_border_width(GTK_CONTAINER (window), 10);
-#else
gtk_container_set_border_width(GTK_CONTAINER (window), 10);
-#endif
/* add a button to do something useful */
button = gtk_button_new_with_label("Fork me!");