[Libreoffice-commits] core.git: Branch 'feature/gsoc-tiled-rendering' - include/LibreOfficeKit
Pranav Kant
pranavk at gnome.org
Sun Jun 7 22:29:53 PDT 2015
include/LibreOfficeKit/LibreOfficeKitGtk.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bd13ea0a5d900e96162f9a65c2d1ec4b694ea0ac
Author: Pranav Kant <pranavk at gnome.org>
Date: Sun Jun 7 22:28:01 2015 +0530
lokdocview: mark *_get_type() with const function attribute
Use G_GNUC_CONST that adds const function attribute to
lok_doc_view_get_type() for better performance.
Change-Id: Id79f0395a98c4f98b46303e9b5ee1e103fbe331f
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index 747e45e..e84feee 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -44,7 +44,7 @@ struct _LOKDocViewClass
void (* part_changed) (LOKDocView* pView, int new_part);
};
-GType lok_doc_view_get_type (void);
+GType lok_doc_view_get_type (void) G_GNUC_CONST;
GtkWidget* lok_doc_view_new (LibreOfficeKit* pOffice );
gboolean lok_doc_view_open_document (LOKDocView* pDocView,
char* pPath);
More information about the Libreoffice-commits
mailing list