diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-31 13:04:07 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-31 13:04:07 +0200 |
commit | 12b8b8919663681329fbe7bedf9d92631bf44603 (patch) | |
tree | 1d92efe826c8c2dba8be3d32c1e64842024e3e76 /plugins/common/msd-osd-window.h | |
parent | e8717a496368ae4ee74eb1891620271171d77597 (diff) | |
download | mate-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.h | 4 |
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); |