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-io-error-message-area.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-io-error-message-area.c')
-rw-r--r-- | pluma/pluma-io-error-message-area.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pluma/pluma-io-error-message-area.c b/pluma/pluma-io-error-message-area.c index 4cf0ac9b..4d162f02 100644 --- a/pluma/pluma-io-error-message-area.c +++ b/pluma/pluma-io-error-message-area.c @@ -50,6 +50,11 @@ #define MAX_URI_IN_DIALOG_LENGTH 50 +#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 gboolean is_recoverable_error (const GError *error) { |