diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-18 21:18:50 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 22:31:33 +0100 |
commit | 9994dd399ab569d547e18cb5f01900f8db953312 (patch) | |
tree | 00e7b12b6a8e05bbde06abce527114792b8970c1 /pluma/pluma-print-preview.c | |
parent | 125169f8cb0ee1d06179a3769fe3368b5df35527 (diff) | |
download | pluma-9994dd399ab569d547e18cb5f01900f8db953312.tar.bz2 pluma-9994dd399ab569d547e18cb5f01900f8db953312.tar.xz |
GTK3: don't use deprecated gtk_{v/h}-box
Diffstat (limited to 'pluma/pluma-print-preview.c')
-rw-r--r-- | pluma/pluma-print-preview.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-print-preview.c b/pluma/pluma-print-preview.c index 51390cb7..e06145bf 100644 --- a/pluma/pluma-print-preview.c +++ b/pluma/pluma-print-preview.c @@ -42,6 +42,10 @@ #define PRINTER_DPI (72.) +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) +#endif + struct _PlumaPrintPreviewPrivate { GtkPrintOperation *operation; |