commit | cf8d54c7906f096d6150d6cd80b8c825df30944b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Mar 26 20:31:32 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 26 20:31:32 2012 +0200 |
tree | 6c7c6f47031fc915873e8e13fb5f788a1def0c3c | |
parent | 3cb6147dd770adf5359146054a0c92c922c6e9db [diff] [blame] |
gcompat: gtk_widget_set_can_focus() for below 2.18 Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gcompat.h b/gcompat.h index 61b9894..8b8461a 100644 --- a/gcompat.h +++ b/gcompat.h
@@ -39,4 +39,8 @@ #define GFIO_DRAW_EVENT "expose_event" #endif +#if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 18 +void gtk_widget_set_can_focus(GtkWidget *widget, gboolean can_focus); +#endif + #endif