summaryrefslogtreecommitdiff
path: root/gtk/gtkpopoverprivate.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2014-02-04 20:45:53 +0100
committerCarlos Garnacho <carlosg@gnome.org>2014-02-04 21:29:25 +0100
commit2d9c09d6c0621a0b9bd24e1054af4a8b31912935 (patch)
tree00d49fa3c336155ad5d1b5dadb562a4545b9651c /gtk/gtkpopoverprivate.h
parent0493d746504f91335b55f76efa3d894d92734104 (diff)
downloadgtk+-2d9c09d6c0621a0b9bd24e1054af4a8b31912935.tar.gz
popover: Add private _gtk_popover_set_apply_shape() call
Popovers no longer sets a shape, unless this function is called. This function exists so widgets that are potentially placed on top of other native windows can get a popover that's nicely shaped, even if it has no border shadow around. https://bugzilla.gnome.org/show_bug.cgi?id=723556
Diffstat (limited to 'gtk/gtkpopoverprivate.h')
-rw-r--r--gtk/gtkpopoverprivate.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/gtk/gtkpopoverprivate.h b/gtk/gtkpopoverprivate.h
new file mode 100644
index 0000000000..3b57837a9e
--- /dev/null
+++ b/gtk/gtkpopoverprivate.h
@@ -0,0 +1,26 @@
+/* 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 modal);
+
+#endif /* __GTK_POPOVER_PRIVATE_H__ */