diff options
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); |