From 0f4229d41986aedfef61dfbfb80bcd8dbbab62c5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 1 Feb 2003 01:19:30 +0000 Subject: [PATCH] Mention xxx_DISABLE_DEPRECATED and GDK_MULTIHEAD_SAFE. 2003-02-01 Matthias Clasen * gtk/compiling.sgml: Mention xxx_DISABLE_DEPRECATED and GDK_MULTIHEAD_SAFE. --- docs/reference/ChangeLog | 5 +++++ docs/reference/gtk/compiling.sgml | 21 ++++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 0a5653af5..87b3a311a 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2003-02-01 Matthias Clasen + + * gtk/compiling.sgml: Mention xxx_DISABLE_DEPRECATED and + GDK_MULTIHEAD_SAFE. + 2003-01-31 Matthias Clasen * gtk/tmpl/gtkmain.sgml: Deprecate the gtk_timeout_*, gtk_idle_* diff --git a/docs/reference/gtk/compiling.sgml b/docs/reference/gtk/compiling.sgml index 609bc0c77..a5909b805 100644 --- a/docs/reference/gtk/compiling.sgml +++ b/docs/reference/gtk/compiling.sgml @@ -49,6 +49,25 @@ $ cc `pkg-config --cflags --libs gtk+-linux-fb-2.0` hello.c -o hello - + +If you want to make sure that your program doesn't use any deprecated +functions, you can define the preprocessor symbol GTK_DISABLE_DEPRECATED +by using the command line option -DGTK_DISABLE_DEPRECATED=1. +There are similar symbols GDK_DISABLE_DEPRECATED, +GDK_PIXBUF_DISABLE_DEPRECATED and G_DISABLE_DEPRECATED for GDK, GdkPixbuf and +GLib. + + +If you want to make sure that your program doesn't use any functions which +may be problematic in a multihead setting, you can define the preprocessor +symbol GDK_MULTIHEAD_SAFE by using the command line option +-DGTK_MULTIHEAD_SAFE=1. + + + + + + +