From dc6b2065db9aa22aac346adaf337fb868b959f11 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Thu, 19 Nov 2015 21:13:51 +0100 Subject: GTk3: don't use deprecated GTK_TYPE_{V/H}BOX --- pluma/pluma-documents-panel.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pluma/pluma-documents-panel.h') diff --git a/pluma/pluma-documents-panel.h b/pluma/pluma-documents-panel.h index 614e234f..4c546f81 100644 --- a/pluma/pluma-documents-panel.h +++ b/pluma/pluma-documents-panel.h @@ -57,7 +57,11 @@ typedef struct _PlumaDocumentsPanel PlumaDocumentsPanel; struct _PlumaDocumentsPanel { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBox vbox; +#else GtkVBox vbox; +#endif /*< private > */ PlumaDocumentsPanelPrivate *priv; @@ -70,7 +74,11 @@ typedef struct _PlumaDocumentsPanelClass PlumaDocumentsPanelClass; struct _PlumaDocumentsPanelClass { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkBoxClass parent_class; +#else GtkVBoxClass parent_class; +#endif }; /* -- cgit v1.2.1