[gtk+/gtk-2-90: 126/161] Substitute deprecated stuff from GtkContainer in documentation



commit 96c5af323fb92544b26a90aa4f427ce212bcf81d
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Nov 9 09:20:33 2009 +0100

    Substitute deprecated stuff from GtkContainer in documentation

 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 508d231..493d61e 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!");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]