X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-sidebar.h;h=1c8fed2267e171a3df80c483ed844b34261fdac6;hb=a90e38bd4aab8013c402e55753275f5b3408e103;hp=1c4a7a88ad7dcb917103c6df5507960db4e823e3;hpb=7069e1991b056fcf8286f09c3f7942909db04a0d;p=evince.git diff --git a/shell/ev-sidebar.h b/shell/ev-sidebar.h index 1c4a7a88..1c8fed22 100644 --- a/shell/ev-sidebar.h +++ b/shell/ev-sidebar.h @@ -18,14 +18,15 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __EV_SIDEBAR_H__ #define __EV_SIDEBAR_H__ -#include -#include "ev-document.h" +#include + +#include "ev-document-model.h" G_BEGIN_DECLS @@ -50,14 +51,14 @@ struct _EvSidebarClass { GtkVBoxClass base_class; }; -GType ev_sidebar_get_type (void); -GtkWidget *ev_sidebar_new (void); -void ev_sidebar_add_page (EvSidebar *ev_sidebar, - GtkWidget *main_widget); -void ev_sidebar_set_page (EvSidebar *ev_sidebar, - GtkWidget *main_widget); -void ev_sidebar_set_document (EvSidebar *ev_sidebar, - EvDocument *document); +GType ev_sidebar_get_type (void) G_GNUC_CONST; +GtkWidget *ev_sidebar_new (void); +void ev_sidebar_add_page (EvSidebar *ev_sidebar, + GtkWidget *main_widget); +void ev_sidebar_set_page (EvSidebar *ev_sidebar, + GtkWidget *main_widget); +void ev_sidebar_set_model (EvSidebar *sidebar, + EvDocumentModel *model); G_END_DECLS