summaryrefslogtreecommitdiff
path: root/katze/gtk3-compat.h
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2011-10-26 20:07:11 +0200
committerChristian Dywan <christian@twotoasts.de>2011-10-26 20:07:11 +0200
commit77c7dda77710f497fea3787d13200ac9555d4a7a (patch)
tree4aa4ab25a348b425902d22a8becd0952569ede59 /katze/gtk3-compat.h
parent34de6c10b56f6f69139b5c577c9a730005c436e5 (diff)
downloadmidori-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.h4
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