diff options
author | Javier Jardón <jjardon@gnome.org> | 2009-11-09 09:20:33 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 01:51:19 +0200 |
commit | 2c774ffdcdd37b4262fbc1025cc57eedc032d7b1 (patch) | |
tree | 145ee7f48908f85220d5fb023646332cfcc20002 /docs/faq | |
parent | 8d9e37f40777118d55086ad329318f6657e62397 (diff) | |
download | gtk+-2c774ffdcdd37b4262fbc1025cc57eedc032d7b1.tar.gz |
Substitute deprecated stuff from GtkContainer in documentation
Diffstat (limited to 'docs/faq')
-rw-r--r-- | docs/faq/gtk-faq.sgml | 4 |
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) && (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!"); |