diff options
author | raveit65 <[email protected]> | 2016-06-22 11:49:11 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-22 11:49:11 +0200 |
commit | a0292d6425b8413fe465285c78a670e6f09d72ec (patch) | |
tree | 2a0517763e685ef74070803aad36a6916c31a9de /shell/ev-password-view.c | |
parent | fd09fb9251212e7161796a2007f2b1f8c97e57a9 (diff) | |
download | atril-a0292d6425b8413fe465285c78a670e6f09d72ec.tar.bz2 atril-a0292d6425b8413fe465285c78a670e6f09d72ec.tar.xz |
GTK+-3: do not use deprecated gtk_{h/v}box_new
Diffstat (limited to 'shell/ev-password-view.c')
-rw-r--r-- | shell/ev-password-view.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c index 57e4f642..b279ab8b 100644 --- a/shell/ev-password-view.c +++ b/shell/ev-password-view.c @@ -30,6 +30,11 @@ #include "ev-keyring.h" #include "ev-password-view.h" +#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 + enum { UNLOCK, LAST_SIGNAL |