summaryrefslogtreecommitdiff
path: root/gtk/gtkpopoverprivate.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-02-20 16:24:59 +0100
committerCarlos Garnacho <carlosg@gnome.org>2014-02-20 16:36:34 +0100
commiteb0f86d485b0326f9e1ac7c8bf8093d71da6c92d (patch)
tree85536aea49a18d6aa9865678853b78823ce8d603 /gtk/gtkpopoverprivate.h
parent8ea40e4956747374bd7cf3ba31035d73867753bd (diff)
downloadgtk+-eb0f86d485b0326f9e1ac7c8bf8093d71da6c92d.tar.gz
popover: Always apply the window shape
In practice this shape is only used to outline the popover when it is above native windows, in the most normal full-csw case the shape won't apply visibly, so popovers will still be able to cast a shadow there. If there are native windows below the popover, the shape will exclude the shadow, so there are no alpha contents above the window. One worst case that might happen is that the popover lays above patches of native/client-side windows, so the shadow could come and go around the border. But first let's see whether that happens often or visibly enough before adding something more convoluted.
Diffstat (limited to 'gtk/gtkpopoverprivate.h')
-rw-r--r--gtk/gtkpopoverprivate.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/gtk/gtkpopoverprivate.h b/gtk/gtkpopoverprivate.h
deleted file mode 100644
index cd3be056ae..0000000000
--- a/gtk/gtkpopoverprivate.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* GTK - The GIMP Toolkit
- * Copyright © 2014 Carlos Garnacho <carlosg@gnome.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GTK_POPOVER_PRIVATE_H__
-#define __GTK_POPOVER_PRIVATE_H__
-
-#include "gtkpopover.h"
-
-void _gtk_popover_set_apply_shape (GtkPopover *popover,
- gboolean apply_shape);
-
-#endif /* __GTK_POPOVER_PRIVATE_H__ */