blob: dcc4a4e9cabdc8b0282d6041717e1098675e4b3b [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001From 0cdce687d3edfa5ac0fd19539ba1815d039026d5 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= <inigomartinez@gmail.com>
3Date: Fri, 7 Sep 2018 22:34:29 +0200
4Subject: [PATCH] libview: Remove EvDocumentModel get type function declaration
5
6The EvDocumentModel class declares the `ev_document_model_get_type`
7function as part of the `GObject` boilerplate code.
8
9However, this declaration is not necessary and also causes a warning
10when introspection data file, `EvinceView-3.0.gir`, is generated.
11
12Upstream-Status: Applied [1]
13
14
15---
16 libview/ev-document-model.h | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h
20index 784e27d6..6a99e43a 100644
21--- a/libview/ev-document-model.h
22+++ b/libview/ev-document-model.h
23@@ -54,7 +54,6 @@ typedef enum {
24 EV_PAGE_LAYOUT_AUTOMATIC
25 } EvPageLayout;
26
27-GType ev_document_model_get_type (void) G_GNUC_CONST;
28 EvDocumentModel *ev_document_model_new (void);
29 EvDocumentModel *ev_document_model_new_with_document (EvDocument *document);
30
31--
322.20.1
33