diff options
author | Christian Dywan <christian@twotoasts.de> | 2011-10-26 20:07:11 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2011-10-26 20:07:11 +0200 |
commit | 77c7dda77710f497fea3787d13200ac9555d4a7a (patch) | |
tree | 4aa4ab25a348b425902d22a8becd0952569ede59 /katze/gtk3-compat.h | |
parent | 34de6c10b56f6f69139b5c577c9a730005c436e5 (diff) | |
download | midori-77c7dda77710f497fea3787d13200ac9555d4a7a.tar.gz |
Avoid GTK+3 #ifdef and #define GTK_DIALOG_DESTROY_WITH_PARENT
Diffstat (limited to 'katze/gtk3-compat.h')
-rw-r--r-- | katze/gtk3-compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/katze/gtk3-compat.h b/katze/gtk3-compat.h index b1b3b103..5858a731 100644 --- a/katze/gtk3-compat.h +++ b/katze/gtk3-compat.h @@ -58,6 +58,10 @@ G_BEGIN_DECLS else GTK_WIDGET_UNSET_FLAGS (wdgt, GTK_REALIZED) #endif +#if GTK_CHECK_VERSION (3, 0, 0) + #define GTK_DIALOG_NO_SEPARATOR 0 +#endif + #if !GTK_CHECK_VERSION(2, 12, 0) void |