diff options
Diffstat (limited to 'src/dlg-extract.c')
-rw-r--r-- | src/dlg-extract.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dlg-extract.c b/src/dlg-extract.c index 9cdc272..e92966b 100644 --- a/src/dlg-extract.c +++ b/src/dlg-extract.c @@ -23,6 +23,7 @@ #include <config.h> #include <string.h> #include <unistd.h> +#include <gtk/gtk.h> #include "file-utils.h" #include "fr-stock.h" #include "main.h" @@ -30,6 +31,10 @@ #include "fr-window.h" #include "typedefs.h" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_vbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_VERTICAL, Y) +#define gtk_hbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL, Y) +#endif typedef struct { FrWindow *window; |