diff options
author | raveit65 <[email protected]> | 2015-09-27 17:07:04 +0200 |
---|---|---|
committer | monsta <[email protected]> | 2015-10-19 16:06:57 +0300 |
commit | 5609227c672d94e54edec26e2b4db5f9e1697e17 (patch) | |
tree | 58e3dd3e0336c733981d8c4213089f59af5f2931 /libcaja-private/caja-progress-info.c | |
parent | d14fef384a435471860130f7337d5dea5bb824a0 (diff) | |
download | caja-5609227c672d94e54edec26e2b4db5f9e1697e17.tar.bz2 caja-5609227c672d94e54edec26e2b4db5f9e1697e17.tar.xz |
GTK3: Replace gtk_{v,h}box new with gtk_box_new
- gtk_{v,h}box usage is deprecated since gtk+-3.2.0
Diffstat (limited to 'libcaja-private/caja-progress-info.c')
-rw-r--r-- | libcaja-private/caja-progress-info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c index 789b5de0..27f48da5 100644 --- a/libcaja-private/caja-progress-info.c +++ b/libcaja-private/caja-progress-info.c @@ -46,6 +46,11 @@ enum #define SIGNAL_DELAY_MSEC 100 +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + static guint signals[LAST_SIGNAL] = { 0 }; struct _CajaProgressInfo |