summaryrefslogtreecommitdiff
path: root/plugins/common/msd-osd-window.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-31 13:04:07 +0200
committerStefano Karapetsas <[email protected]>2013-07-31 13:04:07 +0200
commit12b8b8919663681329fbe7bedf9d92631bf44603 (patch)
tree1d92efe826c8c2dba8be3d32c1e64842024e3e76 /plugins/common/msd-osd-window.h
parente8717a496368ae4ee74eb1891620271171d77597 (diff)
downloadmate-settings-daemon-12b8b8919663681329fbe7bedf9d92631bf44603.tar.bz2
mate-settings-daemon-12b8b8919663681329fbe7bedf9d92631bf44603.tar.xz
Add GTK3 support in OSD window
Diffstat (limited to 'plugins/common/msd-osd-window.h')
-rw-r--r--plugins/common/msd-osd-window.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/common/msd-osd-window.h b/plugins/common/msd-osd-window.h
index da84e64..fd33d36 100644
--- a/plugins/common/msd-osd-window.h
+++ b/plugins/common/msd-osd-window.h
@@ -70,7 +70,11 @@ struct MsdOsdWindow {
struct MsdOsdWindowClass {
GtkWindowClass parent_class;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ void (* draw_when_composited) (MsdOsdWindow *window, cairo_t *cr);
+#else
void (* expose_when_composited) (MsdOsdWindow *window, cairo_t *cr);
+#endif
};
GType msd_osd_window_get_type (void);