From 0886f49224064a259ed6615961f420ab7b6fc3ef Mon Sep 17 00:00:00 2001 From: Pranav Kant Date: Thu, 17 Dec 2015 20:35:23 +0530 Subject: lokdocview: Use GLib basic types Change-Id: I07add7b9dcb1dc53d7ed61ff71545489de3be155 Reviewed-on: https://gerrit.libreoffice.org/20778 Reviewed-by: David Tardon Tested-by: David Tardon (cherry picked from commit b902432b431d01634c1f56e4758ec236a999650d) Reviewed-on: https://gerrit.libreoffice.org/21265 Tested-by: Jenkins Reviewed-by: Pranav Kant --- include/LibreOfficeKit/LibreOfficeKitGtk.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index 903a74256ffa..c3cba8fe3417 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -118,19 +118,19 @@ void lok_doc_view_set_zoom (LOKDocView* * * Returns: The current zoom factor value in float for pDocView */ -float lok_doc_view_get_zoom (LOKDocView* pDocView); +gfloat lok_doc_view_get_zoom (LOKDocView* pDocView); /** * lok_doc_view_get_parts: * @pDocView: The #LOKDocView instance */ -int lok_doc_view_get_parts (LOKDocView* pDocView); +gint lok_doc_view_get_parts (LOKDocView* pDocView); /** * lok_doc_view_get_part: * @pDocView: The #LOKDocView instance */ -int lok_doc_view_get_part (LOKDocView* pDocView); +gint lok_doc_view_get_part (LOKDocView* pDocView); /** * lok_doc_view_set_part: @@ -145,7 +145,7 @@ void lok_doc_view_set_part (LOKDocView* * @pDocView: The #LOKDocView instance * @nPart: */ -char* lok_doc_view_get_part_name (LOKDocView* pDocView, +gchar* lok_doc_view_get_part_name (LOKDocView* pDocView, int nPart); /** @@ -272,7 +272,7 @@ gboolean lok_doc_view_paste (LOKDocView* * * Returns: The corresponding value in twips */ -float lok_doc_view_pixel_to_twip (LOKDocView* pDocView, +gfloat lok_doc_view_pixel_to_twip (LOKDocView* pDocView, float fInput); /** @@ -284,7 +284,7 @@ float lok_doc_view_pixel_to_twip (LOKDocView* * * Returns: The corresponding value in pixels */ -float lok_doc_view_twip_to_pixel (LOKDocView* pDocView, +gfloat lok_doc_view_twip_to_pixel (LOKDocView* pDocView, float fInput); G_END_DECLS -- cgit v1.2.3