]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-sidebar.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-sidebar.h
index 5f01132e66ea6046aec76d1d96614bf490cbd9f8..1c8fed2267e171a3df80c483ed844b34261fdac6 100644 (file)
@@ -18,7 +18,7 @@
  *
  * 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__
@@ -26,7 +26,7 @@
 
 #include <gtk/gtk.h>
 
-#include "ev-document.h"
+#include "ev-document-model.h"
 
 G_BEGIN_DECLS
 
@@ -51,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