diff options
author | Alessio Treglia <quadrispro@ubuntu.com> | 2010-05-13 20:16:51 +0200 |
---|---|---|
committer | Alessio Treglia <quadrispro@ubuntu.com> | 2010-05-13 20:16:51 +0200 |
commit | 7f9ebd076a83aaf63891d63bcb29b4f358f1df2f (patch) | |
tree | d0e1f85948001b77ff07412accf00c155cbbc6a2 /src/book-view.h | |
parent | d116d13b3417eac7943735d2499aab265cc4d9a3 (diff) | |
parent | 37e8ad6c00349fd62f09c8cfe3e22acf545db2ac (diff) |
Merge commit 'upstream/2.31.1'
Diffstat (limited to 'src/book-view.h')
-rw-r--r-- | src/book-view.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/book-view.h b/src/book-view.h index acc3899..5b5e2a6 100644 --- a/src/book-view.h +++ b/src/book-view.h @@ -12,7 +12,6 @@ #ifndef _BOOK_VIEW_H_ #define _BOOK_VIEW_H_ -#include <glib-object.h> #include <gtk/gtk.h> #include <cairo.h> #include "book.h" @@ -27,28 +26,23 @@ typedef struct BookViewPrivate BookViewPrivate; typedef struct { - GObject parent_instance; + GtkVBox parent_instance; BookViewPrivate *priv; } BookView; typedef struct { - GObjectClass parent_class; - + GtkVBoxClass parent_class; + void (*page_selected) (BookView *view, Page *page); void (*show_page) (BookView *view, Page *page); + void (*show_menu) (BookView *view, Page *page); } BookViewClass; GType book_view_get_type (void); -BookView *book_view_new (void); - -// FIXME: Book view should extend GtkVBox -void book_view_set_widgets (BookView *view, GtkWidget *box, GtkWidget *area, GtkWidget *scroll, GtkWidget *page_menu); - -// FIXME: Should be part of book_view_new -void book_view_set_book (BookView *view, Book *book); +BookView *book_view_new (Book *book); void book_view_redraw (BookView *view); |