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 | 37e8ad6c00349fd62f09c8cfe3e22acf545db2ac (patch) | |
tree | 4b663edb122b77e9c8f1b48c0f1c68f69fcf5655 /src/book-view.h | |
parent | dc950f77d2a9f9aa23f6bd0ea59648c34fff491b (diff) |
Imported Upstream version 2.31.1upstream/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); |