diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-19 21:13:51 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 22:31:33 +0100 |
commit | dc6b2065db9aa22aac346adaf337fb868b959f11 (patch) | |
tree | 13ac577af60397bbff08819cc5ad2041f4da9397 /pluma/pluma-panel.h | |
parent | 9994dd399ab569d547e18cb5f01900f8db953312 (diff) | |
download | pluma-dc6b2065db9aa22aac346adaf337fb868b959f11.tar.bz2 pluma-dc6b2065db9aa22aac346adaf337fb868b959f11.tar.xz |
GTk3: don't use deprecated GTK_TYPE_{V/H}BOX
Diffstat (limited to 'pluma/pluma-panel.h')
-rw-r--r-- | pluma/pluma-panel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pluma/pluma-panel.h b/pluma/pluma-panel.h index be13fb1e..1e3b3059 100644 --- a/pluma/pluma-panel.h +++ b/pluma/pluma-panel.h @@ -55,7 +55,11 @@ typedef struct _PlumaPanel PlumaPanel; struct _PlumaPanel { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBox vbox; +#else GtkVBox vbox; +#endif /*< private > */ PlumaPanelPrivate *priv; @@ -68,7 +72,11 @@ typedef struct _PlumaPanelClass PlumaPanelClass; struct _PlumaPanelClass { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBoxClass parent_class; +#else GtkVBoxClass parent_class; +#endif void (* item_added) (PlumaPanel *panel, GtkWidget *item); |