From 026e231507aa5dae486255b6450b410f37e3abb0 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Tue, 7 Aug 2012 18:56:05 +0200 Subject: Imported Upstream version 3.5.3 --- src/book-view.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/book-view.c') diff --git a/src/book-view.c b/src/book-view.c index 3be88c2..f418d37 100644 --- a/src/book-view.c +++ b/src/book-view.c @@ -1,4 +1,4 @@ -/* book-view.c generated by valac 0.16.0, the Vala compiler +/* book-view.c generated by valac 0.16.1, the Vala compiler * generated from book-view.vala, do not modify */ /* @@ -193,6 +193,7 @@ void page_view_motion (PageView* self, gint x, gint y); GdkCursorType page_view_get_cursor (PageView* self); void book_view_select_next_page (BookView* self); void book_view_select_prev_page (BookView* self); +GtkWidget* book_view_get_event_source (BookView* self); static void g_cclosure_user_marshal_VOID__PAGE (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data); static void book_view_finalize (GObject* obj); @@ -2215,6 +2216,18 @@ Page* book_view_get_selected (BookView* self) { } +GtkWidget* book_view_get_event_source (BookView* self) { + GtkWidget* result = NULL; + GtkWidget* _tmp0_; + GtkWidget* _tmp1_; + g_return_val_if_fail (self != NULL, NULL); + _tmp0_ = self->priv->drawing_area; + _tmp1_ = _g_object_ref0 (_tmp0_); + result = _tmp1_; + return result; +} + + static void g_cclosure_user_marshal_VOID__PAGE (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) { typedef void (*GMarshalFunc_VOID__PAGE) (gpointer data1, gpointer arg_1, gpointer data2); register GMarshalFunc_VOID__PAGE callback; -- cgit v1.2.3