summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPranav Kant <pranavk@libreoffice.org>2015-12-17 20:35:23 +0530
committerDavid Tardon <dtardon@redhat.com>2015-12-17 15:47:43 +0000
commitb902432b431d01634c1f56e4758ec236a999650d (patch)
treed2a9d83ba3f3e051efd66d5d4fbde4a1bc92103e /include
parent9c8c3acffa304e2d85dcbbdb5bf9decc9b255b13 (diff)
lokdocview: Use GLib basic types
Change-Id: I07add7b9dcb1dc53d7ed61ff71545489de3be155 Reviewed-on: https://gerrit.libreoffice.org/20778 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitGtk.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h
index 25b15fad0aab..62d2e7f29247 100644
--- a/include/LibreOfficeKit/LibreOfficeKitGtk.h
+++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h
@@ -118,7 +118,7 @@ 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:
@@ -127,7 +127,7 @@ float lok_doc_view_get_zoom (LOKDocView*
* Returns: Part refers to either individual sheets in a Calc, or slides in Impress,
* and has no relevance for Writer.
*/
-int lok_doc_view_get_parts (LOKDocView* pDocView);
+gint lok_doc_view_get_parts (LOKDocView* pDocView);
/**
* lok_doc_view_get_part:
@@ -135,7 +135,7 @@ int lok_doc_view_get_parts (LOKDocView*
*
* Returns: Current part number of the document
*/
-int lok_doc_view_get_part (LOKDocView* pDocView);
+gint lok_doc_view_get_part (LOKDocView* pDocView);
/**
* lok_doc_view_set_part:
@@ -152,7 +152,7 @@ void lok_doc_view_set_part (LOKDocView*
*
* Returns: Get current part name of loaded document
*/
-char* lok_doc_view_get_part_name (LOKDocView* pDocView,
+gchar* lok_doc_view_get_part_name (LOKDocView* pDocView,
int nPart);
/**
@@ -279,7 +279,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);
/**
@@ -291,7 +291,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