This has been discussed in bug 541009.
#include "config.h"
+#undef GTK_DISABLE_DEPRECATED
#include "gtkhpaned.h"
#include "gtkorientable.h"
* children arranged horizontally. The division between
* the two panes is adjustable by the user by dragging
* a handle. See #GtkPaned for details.
+ *
+ * GtkHPaned has been deprecated, use #GtkPaned instead.
*/
* Create a new #GtkHPaned
*
* Returns: the new #GtkHPaned
+ *
+ * Deprecated: 3.2: Use gtk_paned_new() with %GTK_ORIENTATION_HORIZONTAL instead
*/
GtkWidget *
gtk_hpaned_new (void)
#ifndef __GTK_HPANED_H__
#define __GTK_HPANED_H__
+#ifndef GTK_DISABLE_DEPRECATED
+
#include <gtk/gtkpaned.h>
G_BEGIN_DECLS
G_END_DECLS
+#endif
+
#endif /* __GTK_HPANED_H__ */
#include "config.h"
#include "gtkorientable.h"
+#undef GTK_DISABLE_DEPRECATED
#include "gtkvpaned.h"
* children arranged vertically. The division between
* the two panes is adjustable by the user by dragging
* a handle. See #GtkPaned for details.
+ *
+ * GtkVPaned has been deprecated, use #GtkPaned instead.
*/
G_DEFINE_TYPE (GtkVPaned, gtk_vpaned, GTK_TYPE_PANED)
* Create a new #GtkVPaned
*
* Returns: the new #GtkVPaned
+ *
+ * Deprecated: 3.2: Use gtk_paned_new() with %GTK_ORIENTATION_VERTICAL instead
*/
GtkWidget *
gtk_vpaned_new (void)
#ifndef __GTK_VPANED_H__
#define __GTK_VPANED_H__
+#ifndef GTK_DISABLE_DEPRECATED
+
#include <gtk/gtkpaned.h>
G_BEGIN_DECLS
G_END_DECLS
+#endif
+
#endif /* __GTK_VPANED_H__ */