gdk: Remove GTK_COMPILATION checks from headers

Now that gtk doesn't compile with GDK_DISABLE_DEPRECATED anymore,
they're not needed.
This commit is contained in:
Benjamin Otte
2011-01-03 19:03:33 +01:00
parent 79b4c34a8f
commit 882db1cf5f
4 changed files with 5 additions and 8 deletions

View File

@ -96,15 +96,12 @@ gboolean gdk_get_use_xshm (void);
gchar* gdk_get_display (void);
G_CONST_RETURN gchar* gdk_get_display_arg_name (void);
#if !defined (GDK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
/* Used by gtk_input_add_full () */
#ifndef GDK_DISABLE_DEPRECATED
gint gdk_input_add_full (gint source,
GdkInputCondition condition,
GdkInputFunction function,
gpointer data,
GDestroyNotify destroy);
#endif /* !GDK_DISABLE_DEPRECATED || GTK_COMPILATION */
#ifndef GDK_DISABLE_DEPRECATED
gint gdk_input_add (gint source,
GdkInputCondition condition,
GdkInputFunction function,

View File

@ -255,14 +255,14 @@ void gdk_drawable_set_colormap (GdkDrawable *drawable,
GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable);
gint gdk_drawable_get_depth (GdkDrawable *drawable);
#if !defined (GDK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
#if !defined (GDK_DISABLE_DEPRECATED)
void gdk_drawable_get_size (GdkDrawable *drawable,
gint *width,
gint *height);
GdkVisual* gdk_drawable_get_visual (GdkDrawable *drawable);
GdkScreen* gdk_drawable_get_screen (GdkDrawable *drawable);
GdkDisplay* gdk_drawable_get_display (GdkDrawable *drawable);
#endif /* GDK_DISABLE_DEPRECATED || GTK_COMPILATION */
#endif /* GDK_DISABLE_DEPRECATED */
#ifndef GDK_DISABLE_DEPRECATED
GdkDrawable* gdk_drawable_ref (GdkDrawable *drawable);

View File

@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
#if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION) || defined(GTK_COMPILATION)
#if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION)
#ifndef __GDK_FONT_H__
#define __GDK_FONT_H__

View File

@ -577,7 +577,7 @@ void gdk_window_coords_from_parent (GdkWindow *window,
gdouble *x,
gdouble *y);
#if !defined (GDK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) || defined (GDK_COMPILATION)
#if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
/* Used by gtk_handle_box_button_changed () */
gboolean gdk_window_get_deskrelative_origin (GdkWindow *window,
gint *x,