forked from AuroraMiddleware/gtk
viewport: Make final
No need to derive from it.
This commit is contained in:
parent
848f658b32
commit
8de9f41b5d
@ -63,6 +63,14 @@
|
|||||||
* GtkViewport has a single CSS node with name viewport.
|
* GtkViewport has a single CSS node with name viewport.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
typedef struct _GtkViewportPrivate GtkViewportPrivate;
|
||||||
|
typedef struct _GtkViewportClass GtkViewportClass;
|
||||||
|
|
||||||
|
struct _GtkViewport
|
||||||
|
{
|
||||||
|
GtkBin parent_instance;
|
||||||
|
};
|
||||||
|
|
||||||
struct _GtkViewportPrivate
|
struct _GtkViewportPrivate
|
||||||
{
|
{
|
||||||
GtkAdjustment *hadjustment;
|
GtkAdjustment *hadjustment;
|
||||||
@ -75,6 +83,11 @@ struct _GtkViewportPrivate
|
|||||||
guint vscroll_policy : 1;
|
guint vscroll_policy : 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct _GtkViewportClass
|
||||||
|
{
|
||||||
|
GtkBinClass parent_class;
|
||||||
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PROP_0,
|
PROP_0,
|
||||||
PROP_HADJUSTMENT,
|
PROP_HADJUSTMENT,
|
||||||
|
@ -45,30 +45,6 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
|
|
||||||
typedef struct _GtkViewport GtkViewport;
|
typedef struct _GtkViewport GtkViewport;
|
||||||
typedef struct _GtkViewportPrivate GtkViewportPrivate;
|
|
||||||
typedef struct _GtkViewportClass GtkViewportClass;
|
|
||||||
|
|
||||||
struct _GtkViewport
|
|
||||||
{
|
|
||||||
GtkBin parent_instance;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* GtkViewportClass:
|
|
||||||
* @parent_class: The parent class.
|
|
||||||
*/
|
|
||||||
struct _GtkViewportClass
|
|
||||||
{
|
|
||||||
GtkBinClass parent_class;
|
|
||||||
|
|
||||||
/*< private >*/
|
|
||||||
|
|
||||||
/* Padding for future expansion */
|
|
||||||
void (*_gtk_reserved1) (void);
|
|
||||||
void (*_gtk_reserved2) (void);
|
|
||||||
void (*_gtk_reserved3) (void);
|
|
||||||
void (*_gtk_reserved4) (void);
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
GDK_AVAILABLE_IN_ALL
|
GDK_AVAILABLE_IN_ALL
|
||||||
|
Loading…
Reference in New Issue
Block a user