[gtk] docs: Update GtkSliceListModel
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] docs: Update GtkSliceListModel
- Date: Sun, 7 Oct 2018 02:23:53 +0000 (UTC)
commit 8e2fb9c2bebd96c24c5d10a83943b503e0ca686a
Author: Benjamin Otte <otte benjamin googlemail com>
Date: Sun Oct 7 02:23:40 2018 +0000
docs: Update GtkSliceListModel
gtk/gtkslicelistmodel.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkslicelistmodel.c b/gtk/gtkslicelistmodel.c
index 3f6add3d75..5144462e5c 100644
--- a/gtk/gtkslicelistmodel.c
+++ b/gtk/gtkslicelistmodel.c
@@ -426,9 +426,8 @@ gtk_slice_list_model_get_model (GtkSliceListModel *self)
*
* Sets the offset into the original model for this slice.
*
- * If the offset is larger than the number of the items in
- * the sliced model, it will remain unchanged and @self will
- * be empty.
+ * If the offset is too large for the sliced model,
+ * @self will end up empty.
**/
void
gtk_slice_list_model_set_offset (GtkSliceListModel *self,
@@ -457,7 +456,7 @@ gtk_slice_list_model_set_offset (GtkSliceListModel *self,
* gtk_slice_list_model_get_offset:
* @self: a #GtkSliceListModel
*
- * Gets the offset via gtk_slice_list_model_set_offset()
+ * Gets the offset set via gtk_slice_list_model_set_offset()
*
* Returns: The offset
**/
@@ -474,7 +473,7 @@ gtk_slice_list_model_get_offset (GtkSliceListModel *self)
* @self: a #GtkSliceListModel
* @size: the maximum size
*
- * Sets the maximum size. So @self will never have more items
+ * Sets the maximum size. @self will never have more items
* than @size.
*
* It can however have fewer items if the offset is too large or
@@ -510,7 +509,7 @@ gtk_slice_list_model_set_size (GtkSliceListModel *self,
* gtk_slice_list_model_get_size:
* @self: a #GtkSliceListModel
*
- * Gets thje size set via gtk_slice_list_model_set_size().
+ * Gets the size set via gtk_slice_list_model_set_size().
*
* Returns: The size
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]