summaryrefslogtreecommitdiff
path: root/gdk/gdkgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/gdkgc.h')
-rw-r--r--gdk/gdkgc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk/gdkgc.h b/gdk/gdkgc.h
index e55a41e0e..997809fc9 100644
--- a/gdk/gdkgc.h
+++ b/gdk/gdkgc.h
@@ -252,6 +252,10 @@ void gdk_gc_set_rgb_fg_color (GdkGC *gc,
void gdk_gc_set_rgb_bg_color (GdkGC *gc,
GdkColor *color);
+#ifndef GDK_DISABLE_DEPRECATED
+#define gdk_gc_destroy gdk_gc_unref
+#endif /* GDK_DISABLE_DEPRECATED */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */