mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
Deprecate h/v subclasses of GtkPaned
This has been discussed in bug 541009.
This commit is contained in:
parent
d41844c946
commit
214069caee
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
#include "gtkhpaned.h"
|
#include "gtkhpaned.h"
|
||||||
#include "gtkorientable.h"
|
#include "gtkorientable.h"
|
||||||
|
|
||||||
@ -39,6 +40,8 @@
|
|||||||
* children arranged horizontally. The division between
|
* children arranged horizontally. The division between
|
||||||
* the two panes is adjustable by the user by dragging
|
* the two panes is adjustable by the user by dragging
|
||||||
* a handle. See #GtkPaned for details.
|
* a handle. See #GtkPaned for details.
|
||||||
|
*
|
||||||
|
* GtkHPaned has been deprecated, use #GtkPaned instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -62,6 +65,8 @@ gtk_hpaned_init (GtkHPaned *hpaned)
|
|||||||
* Create a new #GtkHPaned
|
* Create a new #GtkHPaned
|
||||||
*
|
*
|
||||||
* Returns: the new #GtkHPaned
|
* Returns: the new #GtkHPaned
|
||||||
|
*
|
||||||
|
* Deprecated: 3.2: Use gtk_paned_new() with %GTK_ORIENTATION_HORIZONTAL instead
|
||||||
*/
|
*/
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
gtk_hpaned_new (void)
|
gtk_hpaned_new (void)
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
#ifndef __GTK_HPANED_H__
|
#ifndef __GTK_HPANED_H__
|
||||||
#define __GTK_HPANED_H__
|
#define __GTK_HPANED_H__
|
||||||
|
|
||||||
|
#ifndef GTK_DISABLE_DEPRECATED
|
||||||
|
|
||||||
#include <gtk/gtkpaned.h>
|
#include <gtk/gtkpaned.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
@ -62,4 +64,6 @@ GtkWidget * gtk_hpaned_new (void);
|
|||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __GTK_HPANED_H__ */
|
#endif /* __GTK_HPANED_H__ */
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "gtkorientable.h"
|
#include "gtkorientable.h"
|
||||||
|
#undef GTK_DISABLE_DEPRECATED
|
||||||
#include "gtkvpaned.h"
|
#include "gtkvpaned.h"
|
||||||
|
|
||||||
|
|
||||||
@ -39,6 +40,8 @@
|
|||||||
* children arranged vertically. The division between
|
* children arranged vertically. The division between
|
||||||
* the two panes is adjustable by the user by dragging
|
* the two panes is adjustable by the user by dragging
|
||||||
* a handle. See #GtkPaned for details.
|
* a handle. See #GtkPaned for details.
|
||||||
|
*
|
||||||
|
* GtkVPaned has been deprecated, use #GtkPaned instead.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
G_DEFINE_TYPE (GtkVPaned, gtk_vpaned, GTK_TYPE_PANED)
|
G_DEFINE_TYPE (GtkVPaned, gtk_vpaned, GTK_TYPE_PANED)
|
||||||
@ -61,6 +64,8 @@ gtk_vpaned_init (GtkVPaned *vpaned)
|
|||||||
* Create a new #GtkVPaned
|
* Create a new #GtkVPaned
|
||||||
*
|
*
|
||||||
* Returns: the new #GtkVPaned
|
* Returns: the new #GtkVPaned
|
||||||
|
*
|
||||||
|
* Deprecated: 3.2: Use gtk_paned_new() with %GTK_ORIENTATION_VERTICAL instead
|
||||||
*/
|
*/
|
||||||
GtkWidget *
|
GtkWidget *
|
||||||
gtk_vpaned_new (void)
|
gtk_vpaned_new (void)
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
#ifndef __GTK_VPANED_H__
|
#ifndef __GTK_VPANED_H__
|
||||||
#define __GTK_VPANED_H__
|
#define __GTK_VPANED_H__
|
||||||
|
|
||||||
|
#ifndef GTK_DISABLE_DEPRECATED
|
||||||
|
|
||||||
#include <gtk/gtkpaned.h>
|
#include <gtk/gtkpaned.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
@ -62,4 +64,6 @@ GtkWidget * gtk_vpaned_new (void);
|
|||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __GTK_VPANED_H__ */
|
#endif /* __GTK_VPANED_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user