Skip to content

Commit

Permalink
Some doc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeWey committed Jan 30, 2016
1 parent 67fe0ec commit b49250e
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/gdk/Cursor.d
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public class Cursor : ObjectG
* - ![](default_cursor.png) "default"
* - ![](help_cursor.png) "help"
* - ![](pointer_cursor.png) "pointer"
* - ![](pointer_cursor.png) "context-menu"
* - ![](progress_cursor.png) "progress"
* - ![](wait_cursor.png) "wait"
* - ![](cell_cursor.png) "cell"
Expand Down
5 changes: 3 additions & 2 deletions src/gdk/Pixbuf.d
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ public Pixbuf getFromSurface(Surface surface, int srcX, int srcY, int width, int
* This allows you to efficiently read individual pixels on the client side.
*
* This function will create an RGB pixbuf with 8 bits per channel with
* the same size specified by the @width and @height arguments. The pixbuf
* will contain an alpha channel if the @window contains one.
* the size specified by the @width and @height arguments scaled by the
* scale factor of @window. The pixbuf will contain an alpha channel if
* the @window contains one.
*
* If the window is off the screen, then there is no image data in the
* obscured/offscreen regions to be placed in the pixbuf. The contents of
Expand Down
3 changes: 2 additions & 1 deletion src/gtk/CellLayoutIF.d
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ public interface CellLayoutIF{
* if called on a #GtkCellArea or might be %NULL if no #GtkCellArea
* is used by @cell_layout.
*
* Return: the cell area used by @cell_layout.
* Return: the cell area used by @cell_layout,
* or %NULL in case no cell area is used.
*
* Since: 3.0
*/
Expand Down
3 changes: 2 additions & 1 deletion src/gtk/CellLayoutT.d
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ public template CellLayoutT(TStruct)
* if called on a #GtkCellArea or might be %NULL if no #GtkCellArea
* is used by @cell_layout.
*
* Return: the cell area used by @cell_layout.
* Return: the cell area used by @cell_layout,
* or %NULL in case no cell area is used.
*
* Since: 3.0
*/
Expand Down
7 changes: 4 additions & 3 deletions src/gtk/FlowBox.d
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ public class FlowBox : Container, OrientableIF
* idx = the position of the child
*
* Return: the child widget, which will
* always be a #GtkFlowBoxChild
* always be a #GtkFlowBoxChild or %NULL in case no child widget
* with the given index exists.
*
* Since: 3.12
*/
Expand Down Expand Up @@ -543,8 +544,8 @@ public class FlowBox : Container, OrientableIF
* gtk_flow_box_child_changed()) and when gtk_flow_box_invalidate_sort()
* is called.
*
* + * Note that using a sort function is incompatible with using a model
* + * (see gtk_list_box_bind_model()).
* Note that using a sort function is incompatible with using a model
* (see gtk_flow_box_bind_model()).
*
* Params:
* sortFunc = the sort function
Expand Down
3 changes: 2 additions & 1 deletion src/gtk/ListBox.d
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ public class ListBox : Container
* Params:
* y = position
*
* Return: the row
* Return: the row or %NULL
* in case no row exists for the given y coordinate.
*
* Since: 3.10
*/
Expand Down
3 changes: 2 additions & 1 deletion src/gtkc/gtktypes.d
Original file line number Diff line number Diff line change
Expand Up @@ -5019,7 +5019,8 @@ struct GtkCellLayoutIface
*
* Params:
* cellLayout = a #GtkCellLayout
* Return: the cell area used by @cell_layout.
* Return: the cell area used by @cell_layout,
* or %NULL in case no cell area is used.
*/
extern(C) GtkCellArea* function(GtkCellLayout* cellLayout) getArea;
}
Expand Down

0 comments on commit b49250e

Please sign in to comment.