gnome-desktop r4975 - in trunk/libgnome-desktop: . libgnomeui



Author: ssp
Date: Fri Jan 25 20:31:15 2008
New Revision: 4975
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=4975&view=rev

Log:
2008-01-25  Soren Sandmann  <sandmann redhat com>
	
	* libgnomeui/gnome-bg.h: Add unstable API guard 

	* gnome-bg.c: define GNOME_DESKTOP_USE_UNSTABLE_API before
	including gnome-bg.h



Modified:
   trunk/libgnome-desktop/ChangeLog
   trunk/libgnome-desktop/gnome-bg.c
   trunk/libgnome-desktop/libgnomeui/gnome-bg.h

Modified: trunk/libgnome-desktop/gnome-bg.c
==============================================================================
--- trunk/libgnome-desktop/gnome-bg.c	(original)
+++ trunk/libgnome-desktop/gnome-bg.c	Fri Jan 25 20:31:15 2008
@@ -28,6 +28,7 @@
 */
 
 #include <string.h>
+#define GNOME_DESKTOP_USE_UNSTABLE_API
 #include <libgnomeui/gnome-bg.h>
 #include <gdk/gdkx.h>
 #include <libgnomevfs/gnome-vfs-ops.h>

Modified: trunk/libgnome-desktop/libgnomeui/gnome-bg.h
==============================================================================
--- trunk/libgnome-desktop/libgnomeui/gnome-bg.h	(original)
+++ trunk/libgnome-desktop/libgnomeui/gnome-bg.h	Fri Jan 25 20:31:15 2008
@@ -25,6 +25,10 @@
 #ifndef __GNOME_BG_H__
 #define __GNOME_BG_H__
 
+#ifndef GNOME_DESKTOP_USE_UNSTABLE_API
+#error    GnomeBG is unstable API. You must define GNOME_DESKTOP_USE_UNSTABLE_API before including gnome-bg.h
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif



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