mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Fix spelling errors
These were pointed out by codespell.
This commit is contained in:
parent
0d2161ee40
commit
b12d31d189
@ -943,7 +943,7 @@ _gdk_device_translate_surface_coord (GdkDevice *device,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Some drivers incorrectly report the resolution of the device
|
* Some drivers incorrectly report the resolution of the device
|
||||||
* as zero (in partiular linuxwacom < 0.5.3 with usb tablets).
|
* as zero (in particular linuxwacom < 0.5.3 with usb tablets).
|
||||||
* This causes the device_aspect to become NaN and totally
|
* This causes the device_aspect to become NaN and totally
|
||||||
* breaks windowed mode. If this is the case, the best we can
|
* breaks windowed mode. If this is the case, the best we can
|
||||||
* do is to assume the resolution is non-zero is equal in both
|
* do is to assume the resolution is non-zero is equal in both
|
||||||
|
@ -285,7 +285,7 @@ static GdkBackend gdk_backends[] = {
|
|||||||
* with multiple backends).
|
* with multiple backends).
|
||||||
*
|
*
|
||||||
* Applications can use [func@set_allowed_backends] to limit what
|
* Applications can use [func@set_allowed_backends] to limit what
|
||||||
* backends wil be used.
|
* backends will be used.
|
||||||
*
|
*
|
||||||
* Returns: (transfer none): The global `GdkDisplayManager` singleton
|
* Returns: (transfer none): The global `GdkDisplayManager` singleton
|
||||||
*/
|
*/
|
||||||
|
@ -1326,7 +1326,7 @@ gdk_event_get_display (GdkEvent *event)
|
|||||||
* gdk_event_get_event_sequence:
|
* gdk_event_get_event_sequence:
|
||||||
* @event: a `GdkEvent`
|
* @event: a `GdkEvent`
|
||||||
*
|
*
|
||||||
* Retuns the event sequence to which the event belongs.
|
* Returns the event sequence to which the event belongs.
|
||||||
*
|
*
|
||||||
* Related touch events are connected in a sequence. Other
|
* Related touch events are connected in a sequence. Other
|
||||||
* events typically don't have event sequence information.
|
* events typically don't have event sequence information.
|
||||||
|
@ -1473,7 +1473,7 @@ gdk_x11_display_open (const char *display_name)
|
|||||||
* as we care about GLX details such as alpha/depth/stencil depth,
|
* as we care about GLX details such as alpha/depth/stencil depth,
|
||||||
* stereo and double buffering
|
* stereo and double buffering
|
||||||
*
|
*
|
||||||
* Note that this also sets up the leader surface while creating the inital
|
* Note that this also sets up the leader surface while creating the initial
|
||||||
* GL context.
|
* GL context.
|
||||||
*/
|
*/
|
||||||
if (!gdk_display_prepare_gl (display, NULL))
|
if (!gdk_display_prepare_gl (display, NULL))
|
||||||
|
@ -390,7 +390,7 @@ on_gl_surface_xevent (GdkGLContext *context,
|
|||||||
{
|
{
|
||||||
/* We assume that if the fence has been signaled, that this damage
|
/* We assume that if the fence has been signaled, that this damage
|
||||||
* event is the damage event that was triggered by the GL drawing
|
* event is the damage event that was triggered by the GL drawing
|
||||||
* associated with the fence. That's, technically, not necessarly
|
* associated with the fence. That's, technically, not necessarily
|
||||||
* always true. The X server could have generated damage for
|
* always true. The X server could have generated damage for
|
||||||
* an unrelated event (say the size of the window changing), at
|
* an unrelated event (say the size of the window changing), at
|
||||||
* just the right moment such that we're picking it up instead.
|
* just the right moment such that we're picking it up instead.
|
||||||
|
@ -3428,7 +3428,7 @@ gdk_x11_surface_apply_fullscreen_mode (GdkSurface *surface)
|
|||||||
* Successfully tested on mutter/metacity, kwin, compiz and xfwm4.
|
* Successfully tested on mutter/metacity, kwin, compiz and xfwm4.
|
||||||
*
|
*
|
||||||
* Note, this (non documented) mechanism is unlikely to be an issue
|
* Note, this (non documented) mechanism is unlikely to be an issue
|
||||||
* as it's used only for transitionning back from "all monitors" to
|
* as it's used only for transitioning back from "all monitors" to
|
||||||
* "current monitor" mode.
|
* "current monitor" mode.
|
||||||
*
|
*
|
||||||
* Applications who don't change the default mode won't trigger this
|
* Applications who don't change the default mode won't trigger this
|
||||||
|
@ -810,7 +810,7 @@ gsk_broadway_renderer_add_node (GskRenderer *renderer,
|
|||||||
/* We prune fully clipped children, but we only do this for container_node, as
|
/* We prune fully clipped children, but we only do this for container_node, as
|
||||||
* we don't have a way for any other nodes to say there are children missing (i.e.
|
* we don't have a way for any other nodes to say there are children missing (i.e.
|
||||||
* bins always assume there is a child).
|
* bins always assume there is a child).
|
||||||
* Pruning is really only useful for large sets of children anyway, so thats
|
* Pruning is really only useful for large sets of children anyway, so that's
|
||||||
* probably fine. */
|
* probably fine. */
|
||||||
GskRenderNode *child = gsk_container_node_get_child (node, i);
|
GskRenderNode *child = gsk_container_node_get_child (node, i);
|
||||||
if (node_is_visible (child, clip_bounds))
|
if (node_is_visible (child, clip_bounds))
|
||||||
|
@ -641,7 +641,7 @@ gsk_gl_driver_after_frame (GskGLDriver *self)
|
|||||||
self->texture_pool->len = 0;
|
self->texture_pool->len = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Reset command queue to our shared queue incase we have operations
|
/* Reset command queue to our shared queue in case we have operations
|
||||||
* that need to be processed outside of a frame (such as callbacks
|
* that need to be processed outside of a frame (such as callbacks
|
||||||
* from external systems such as GDK).
|
* from external systems such as GDK).
|
||||||
*/
|
*/
|
||||||
|
@ -153,7 +153,7 @@ gsk_gl_program_delete (GskGLProgram *self)
|
|||||||
* @self: a `GskGLProgram`
|
* @self: a `GskGLProgram`
|
||||||
* @has_attachments: if any uniform is for a bind/texture attachment
|
* @has_attachments: if any uniform is for a bind/texture attachment
|
||||||
*
|
*
|
||||||
* This function should be called after all of the uniforms ahve
|
* This function should be called after all of the uniforms have
|
||||||
* been added with gsk_gl_program_add_uniform().
|
* been added with gsk_gl_program_add_uniform().
|
||||||
*
|
*
|
||||||
* This function will setup the uniform state so that the program
|
* This function will setup the uniform state so that the program
|
||||||
|
@ -1488,7 +1488,7 @@ gsk_gl_render_job_visit_color_node (GskGLRenderJob *job,
|
|||||||
program = CHOOSE_PROGRAM (job, coloring);
|
program = CHOOSE_PROGRAM (job, coloring);
|
||||||
batch = gsk_gl_command_queue_get_batch (job->command_queue);
|
batch = gsk_gl_command_queue_get_batch (job->command_queue);
|
||||||
|
|
||||||
/* Limit the size, or we end up with a coordinate overflow somwhere. */
|
/* Limit the size, or we end up with a coordinate overflow somewhere. */
|
||||||
if (node->bounds.size.width < 300 &&
|
if (node->bounds.size.width < 300 &&
|
||||||
node->bounds.size.height < 300 &&
|
node->bounds.size.height < 300 &&
|
||||||
batch->any.kind == GSK_GL_COMMAND_KIND_DRAW &&
|
batch->any.kind == GSK_GL_COMMAND_KIND_DRAW &&
|
||||||
|
@ -105,7 +105,7 @@
|
|||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* This samples a texture (e.g. u_texture1) at the specified
|
* This samples a texture (e.g. u_texture1) at the specified
|
||||||
* coordinates, and containes some helper ifdefs to ensure that
|
* coordinates, and contains some helper ifdefs to ensure that
|
||||||
* it works on all OpenGL versions.
|
* it works on all OpenGL versions.
|
||||||
*
|
*
|
||||||
* You can compile the shader yourself using [method@Gsk.GLShader.compile],
|
* You can compile the shader yourself using [method@Gsk.GLShader.compile],
|
||||||
|
@ -553,7 +553,7 @@ gsk_radial_gradient_node_diff (GskRenderNode *node1,
|
|||||||
*
|
*
|
||||||
* The radial gradient
|
* The radial gradient
|
||||||
* starts around @center. The size of the gradient is dictated by @hradius
|
* starts around @center. The size of the gradient is dictated by @hradius
|
||||||
* in horizontal orientation and by @vradius in vertial orientation.
|
* in horizontal orientation and by @vradius in vertical orientation.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full) (type GskRadialGradientNode): A new `GskRenderNode`
|
* Returns: (transfer full) (type GskRadialGradientNode): A new `GskRenderNode`
|
||||||
*/
|
*/
|
||||||
@ -622,7 +622,7 @@ gsk_radial_gradient_node_new (const graphene_rect_t *bounds,
|
|||||||
*
|
*
|
||||||
* The radial gradient starts around @center. The size of the gradient
|
* The radial gradient starts around @center. The size of the gradient
|
||||||
* is dictated by @hradius in horizontal orientation and by @vradius
|
* is dictated by @hradius in horizontal orientation and by @vradius
|
||||||
* in vertial orientation.
|
* in vertical orientation.
|
||||||
*
|
*
|
||||||
* Returns: (transfer full) (type GskRepeatingRadialGradientNode): A new `GskRenderNode`
|
* Returns: (transfer full) (type GskRepeatingRadialGradientNode): A new `GskRenderNode`
|
||||||
*/
|
*/
|
||||||
@ -730,7 +730,7 @@ gsk_radial_gradient_node_get_center (const GskRenderNode *node)
|
|||||||
* gsk_radial_gradient_node_get_hradius:
|
* gsk_radial_gradient_node_get_hradius:
|
||||||
* @node: (type GskRadialGradientNode): a `GskRenderNode` for a radial gradient
|
* @node: (type GskRadialGradientNode): a `GskRenderNode` for a radial gradient
|
||||||
*
|
*
|
||||||
* Retrieves the horizonal radius for the gradient.
|
* Retrieves the horizontal radius for the gradient.
|
||||||
*
|
*
|
||||||
* Returns: the horizontal radius for the gradient
|
* Returns: the horizontal radius for the gradient
|
||||||
*/
|
*/
|
||||||
@ -2890,7 +2890,7 @@ gsk_transform_node_draw (GskRenderNode *node,
|
|||||||
/* broken matrix here. This can happen during transitions
|
/* broken matrix here. This can happen during transitions
|
||||||
* (like when flipping an axis at the point where scale == 0)
|
* (like when flipping an axis at the point where scale == 0)
|
||||||
* and just means that nothing should be drawn.
|
* and just means that nothing should be drawn.
|
||||||
* But Cairo thows lots of ugly errors instead of silently
|
* But Cairo throws lots of ugly errors instead of silently
|
||||||
* going on. So We silently go on.
|
* going on. So We silently go on.
|
||||||
*/
|
*/
|
||||||
return;
|
return;
|
||||||
@ -5178,7 +5178,7 @@ gsk_gl_shader_node_diff (GskRenderNode *node1,
|
|||||||
* @args: Arguments for the uniforms
|
* @args: Arguments for the uniforms
|
||||||
* @children: (nullable) (array length=n_children): array of child nodes,
|
* @children: (nullable) (array length=n_children): array of child nodes,
|
||||||
* these will be rendered to textures and used as input.
|
* these will be rendered to textures and used as input.
|
||||||
* @n_children: Length of @children (currenly the GL backend supports
|
* @n_children: Length of @children (currently the GL backend supports
|
||||||
* up to 4 children)
|
* up to 4 children)
|
||||||
*
|
*
|
||||||
* Creates a `GskRenderNode` that will render the given @shader into the
|
* Creates a `GskRenderNode` that will render the given @shader into the
|
||||||
|
@ -132,7 +132,7 @@ gsk_vulkan_clip_intersect_rounded_rect (GskVulkanClip *dest,
|
|||||||
gsk_rounded_rect_init_copy (&dest->rect, rounded);
|
gsk_rounded_rect_init_copy (&dest->rect, rounded);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
/* XXX: Can be improved for the case where one of the rects is a slighty shrunk version of the other */
|
/* XXX: Can be improved for the case where one of the rects is a slightly shrunk version of the other */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -1845,7 +1845,7 @@ get_cell_allocation (GtkCellRenderer *renderer,
|
|||||||
* @allocation: (out): where to store the allocation for @renderer
|
* @allocation: (out): where to store the allocation for @renderer
|
||||||
*
|
*
|
||||||
* Derives the allocation of @renderer inside @area if @area
|
* Derives the allocation of @renderer inside @area if @area
|
||||||
* were to be renderered in @cell_area.
|
* were to be rendered in @cell_area.
|
||||||
*
|
*
|
||||||
* Deprecated: 4.10
|
* Deprecated: 4.10
|
||||||
*/
|
*/
|
||||||
|
@ -9016,7 +9016,7 @@ gtk_tree_view_set_column_drag_info (GtkTreeView *tree_view,
|
|||||||
if (priv->column_drag_info == NULL)
|
if (priv->column_drag_info == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* We know there are always 2 slots possbile, as you can always return column. */
|
/* We know there are always 2 slots possible, as you can always return column. */
|
||||||
/* If that's all there is, return */
|
/* If that's all there is, return */
|
||||||
if (priv->column_drag_info->next == NULL ||
|
if (priv->column_drag_info->next == NULL ||
|
||||||
(priv->column_drag_info->next->next == NULL &&
|
(priv->column_drag_info->next->next == NULL &&
|
||||||
|
@ -1409,7 +1409,7 @@ gtk_builder_extend_with_template (GtkBuilder *builder,
|
|||||||
* gtk_builder_add_from_resource:
|
* gtk_builder_add_from_resource:
|
||||||
* @builder: a `GtkBuilder`
|
* @builder: a `GtkBuilder`
|
||||||
* @resource_path: the path of the resource file to parse
|
* @resource_path: the path of the resource file to parse
|
||||||
* @error: (nullable): return location for an erro
|
* @error: (nullable): return location for an error
|
||||||
*
|
*
|
||||||
* Parses a resource file containing a UI definition
|
* Parses a resource file containing a UI definition
|
||||||
* and merges it with the current contents of @builder.
|
* and merges it with the current contents of @builder.
|
||||||
|
@ -663,7 +663,7 @@ gtk_center_layout_set_start_widget (GtkCenterLayout *self,
|
|||||||
* gtk_center_layout_get_start_widget:
|
* gtk_center_layout_get_start_widget:
|
||||||
* @self: a `GtkCenterLayout`
|
* @self: a `GtkCenterLayout`
|
||||||
*
|
*
|
||||||
* Returns the start widget fo the layout.
|
* Returns the start widget of the layout.
|
||||||
*
|
*
|
||||||
* Returns: (nullable) (transfer none): The current start widget of @self
|
* Returns: (nullable) (transfer none): The current start widget of @self
|
||||||
*/
|
*/
|
||||||
|
@ -777,7 +777,7 @@ gtk_check_button_new_with_mnemonic (const char *label)
|
|||||||
*
|
*
|
||||||
* Sets the `GtkCheckButton` to inconsistent state.
|
* Sets the `GtkCheckButton` to inconsistent state.
|
||||||
*
|
*
|
||||||
* You shoud turn off the inconsistent state again if the user checks
|
* You should turn off the inconsistent state again if the user checks
|
||||||
* the check button. This has to be done manually.
|
* the check button. This has to be done manually.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
@ -466,7 +466,7 @@ gtk_color_dialog_button_set_dialog (GtkColorDialogButton *self,
|
|||||||
* Returns the color of the button.
|
* Returns the color of the button.
|
||||||
*
|
*
|
||||||
* This function is what should be used to obtain
|
* This function is what should be used to obtain
|
||||||
* the color that was choosen by the user. To get
|
* the color that was chosen by the user. To get
|
||||||
* informed about changes, listen to "notify::color".
|
* informed about changes, listen to "notify::color".
|
||||||
*
|
*
|
||||||
* Returns: the color
|
* Returns: the color
|
||||||
|
@ -141,7 +141,7 @@ gtk_css_image_linear_snapshot (GtkCssImage *image,
|
|||||||
{
|
{
|
||||||
GtkCssImageLinear *linear = GTK_CSS_IMAGE_LINEAR (image);
|
GtkCssImageLinear *linear = GTK_CSS_IMAGE_LINEAR (image);
|
||||||
GskColorStop *stops;
|
GskColorStop *stops;
|
||||||
double angle; /* actual angle of the gradiant line in degrees */
|
double angle; /* actual angle of the gradient line in degrees */
|
||||||
double x, y; /* coordinates of start point */
|
double x, y; /* coordinates of start point */
|
||||||
double length; /* distance in pixels for 100% */
|
double length; /* distance in pixels for 100% */
|
||||||
double start, end; /* position of first/last point on gradient line - with gradient line being [0, 1] */
|
double start, end; /* position of first/last point on gradient line - with gradient line being [0, 1] */
|
||||||
|
@ -317,7 +317,7 @@ gtk_drag_source_class_init (GtkDragSourceClass *class)
|
|||||||
class->prepare = gtk_drag_source_prepare;
|
class->prepare = gtk_drag_source_prepare;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkDragSource:content: (attributes org.gtk.Property.get=gtk_drag_source_get_content org.gtk.Propery.set=gtk_drag_source_set_content)
|
* GtkDragSource:content: (attributes org.gtk.Property.get=gtk_drag_source_get_content org.gtk.Property.set=gtk_drag_source_set_content)
|
||||||
*
|
*
|
||||||
* The data that is offered by drag operations from this source.
|
* The data that is offered by drag operations from this source.
|
||||||
*/
|
*/
|
||||||
@ -345,7 +345,7 @@ gtk_drag_source_class_init (GtkDragSourceClass *class)
|
|||||||
* GtkDragSource::prepare:
|
* GtkDragSource::prepare:
|
||||||
* @source: the `GtkDragSource`
|
* @source: the `GtkDragSource`
|
||||||
* @x: the X coordinate of the drag starting point
|
* @x: the X coordinate of the drag starting point
|
||||||
* @y: the Y coordinate fo the drag starting point
|
* @y: the Y coordinate of the drag starting point
|
||||||
*
|
*
|
||||||
* Emitted when a drag is about to be initiated.
|
* Emitted when a drag is about to be initiated.
|
||||||
*
|
*
|
||||||
|
@ -509,7 +509,7 @@ gtk_entry_class_init (GtkEntryClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkEntry:has-frame: (attributes org.gtk.Property.get=gtk_entry_get_has_frame org.gtk.Property.set=gtk_entry_set_has_frame)
|
* GtkEntry:has-frame: (attributes org.gtk.Property.get=gtk_entry_get_has_frame org.gtk.Property.set=gtk_entry_set_has_frame)
|
||||||
*
|
*
|
||||||
* Whehter the entry should draw a frame.
|
* Whether the entry should draw a frame.
|
||||||
*/
|
*/
|
||||||
entry_props[PROP_HAS_FRAME] =
|
entry_props[PROP_HAS_FRAME] =
|
||||||
g_param_spec_boolean ("has-frame", NULL, NULL,
|
g_param_spec_boolean ("has-frame", NULL, NULL,
|
||||||
@ -909,7 +909,7 @@ gtk_entry_class_init (GtkEntryClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkEntry::show-emoji-icon:
|
* GtkEntry::show-emoji-icon:
|
||||||
*
|
*
|
||||||
* Whether the entry will sohw an Emoji icon in the secondary icon position
|
* Whether the entry will show an Emoji icon in the secondary icon position
|
||||||
* to open the Emoji chooser.
|
* to open the Emoji chooser.
|
||||||
*/
|
*/
|
||||||
entry_props[PROP_SHOW_EMOJI_ICON] =
|
entry_props[PROP_SHOW_EMOJI_ICON] =
|
||||||
|
@ -1142,7 +1142,7 @@ gtk_expander_get_label_widget (GtkExpander *expander)
|
|||||||
* @resize_toplevel: whether to resize the toplevel
|
* @resize_toplevel: whether to resize the toplevel
|
||||||
*
|
*
|
||||||
* Sets whether the expander will resize the toplevel widget
|
* Sets whether the expander will resize the toplevel widget
|
||||||
* containing the expander upon resizing and collpasing.
|
* containing the expander upon resizing and collapsing.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
gtk_expander_set_resize_toplevel (GtkExpander *expander,
|
gtk_expander_set_resize_toplevel (GtkExpander *expander,
|
||||||
@ -1162,7 +1162,7 @@ gtk_expander_set_resize_toplevel (GtkExpander *expander,
|
|||||||
* @expander: a `GtkExpander`
|
* @expander: a `GtkExpander`
|
||||||
*
|
*
|
||||||
* Returns whether the expander will resize the toplevel widget
|
* Returns whether the expander will resize the toplevel widget
|
||||||
* containing the expander upon resizing and collpasing.
|
* containing the expander upon resizing and collapsing.
|
||||||
*
|
*
|
||||||
* Returns: the “resize toplevel” setting.
|
* Returns: the “resize toplevel” setting.
|
||||||
*/
|
*/
|
||||||
|
@ -3771,7 +3771,7 @@ gtk_flow_box_class_init (GtkFlowBoxClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkFlowBox::move-cursor:
|
* GtkFlowBox::move-cursor:
|
||||||
* @box: the `GtkFlowBox` on which the signal is emitted
|
* @box: the `GtkFlowBox` on which the signal is emitted
|
||||||
* @step: the granularity fo the move, as a `GtkMovementStep`
|
* @step: the granularity of the move, as a `GtkMovementStep`
|
||||||
* @count: the number of @step units to move
|
* @count: the number of @step units to move
|
||||||
* @extend: whether to extend the selection
|
* @extend: whether to extend the selection
|
||||||
* @modify: whether to modify the selection
|
* @modify: whether to modify the selection
|
||||||
@ -4892,7 +4892,7 @@ gtk_flow_box_set_filter_func (GtkFlowBox *box,
|
|||||||
* Updates the filtering for all children.
|
* Updates the filtering for all children.
|
||||||
*
|
*
|
||||||
* Call this function when the result of the filter
|
* Call this function when the result of the filter
|
||||||
* function on the @box is changed due ot an external
|
* function on the @box is changed due to an external
|
||||||
* factor. For instance, this would be used if the
|
* factor. For instance, this would be used if the
|
||||||
* filter function just looked for a specific search
|
* filter function just looked for a specific search
|
||||||
* term, and the entry with the string has changed.
|
* term, and the entry with the string has changed.
|
||||||
|
@ -838,7 +838,7 @@ gtk_font_dialog_button_set_font_desc (GtkFontDialogButton *self,
|
|||||||
* Returns the font of the button.
|
* Returns the font of the button.
|
||||||
*
|
*
|
||||||
* This function is what should be used to obtain
|
* This function is what should be used to obtain
|
||||||
* the font that was choosen by the user. To get
|
* the font that was chosen by the user. To get
|
||||||
* informed about changes, listen to "notify::font-desc".
|
* informed about changes, listen to "notify::font-desc".
|
||||||
*
|
*
|
||||||
* Returns: (transfer none) (nullable): the font
|
* Returns: (transfer none) (nullable): the font
|
||||||
@ -889,7 +889,7 @@ gtk_font_dialog_button_set_font_features (GtkFontDialogButton *self,
|
|||||||
* Returns the font features of the button.
|
* Returns the font features of the button.
|
||||||
*
|
*
|
||||||
* This function is what should be used to obtain the font features
|
* This function is what should be used to obtain the font features
|
||||||
* that were choosen by the user. To get informed about changes, listen
|
* that were chosen by the user. To get informed about changes, listen
|
||||||
* to "notify::font-features".
|
* to "notify::font-features".
|
||||||
*
|
*
|
||||||
* Note that the button will only let users choose font features
|
* Note that the button will only let users choose font features
|
||||||
|
@ -969,7 +969,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass)
|
|||||||
*
|
*
|
||||||
* Emitted when the icon theme changes.
|
* Emitted when the icon theme changes.
|
||||||
*
|
*
|
||||||
* This can happen becuase current icon theme is switched or
|
* This can happen because current icon theme is switched or
|
||||||
* because GTK detects that a change has occurred in the
|
* because GTK detects that a change has occurred in the
|
||||||
* contents of the current icon theme.
|
* contents of the current icon theme.
|
||||||
*/
|
*/
|
||||||
|
@ -933,7 +933,7 @@ gtk_im_context_get_surrounding_with_selection (GtkIMContext *context,
|
|||||||
* have deleted all the characters that were requested to be deleted.
|
* have deleted all the characters that were requested to be deleted.
|
||||||
*
|
*
|
||||||
* This function is used by an input method that wants to make
|
* This function is used by an input method that wants to make
|
||||||
* subsitutions in the existing text in response to new input.
|
* substitutions in the existing text in response to new input.
|
||||||
* It is not useful for applications.
|
* It is not useful for applications.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE if the signal was handled.
|
* Returns: %TRUE if the signal was handled.
|
||||||
|
@ -72,7 +72,7 @@ struct _GtkIMContextIMEPrivate
|
|||||||
* cleared before commit() is called, otherwise it leads to an assertion
|
* cleared before commit() is called, otherwise it leads to an assertion
|
||||||
* failure in Pango. However, since we emit the commit() signal while
|
* failure in Pango. However, since we emit the commit() signal while
|
||||||
* handling the WM_IME_COMPOSITION message, the IME buffer will be non-empty,
|
* handling the WM_IME_COMPOSITION message, the IME buffer will be non-empty,
|
||||||
* so we temporarily set this flag while emmiting the appropriate signals.
|
* so we temporarily set this flag while emitting the appropriate signals.
|
||||||
*
|
*
|
||||||
* See also:
|
* See also:
|
||||||
* https://bugzilla.gnome.org/show_bug.cgi?id=787142
|
* https://bugzilla.gnome.org/show_bug.cgi?id=787142
|
||||||
|
@ -2236,7 +2236,7 @@ gtk_label_class_init (GtkLabelClass *class)
|
|||||||
* GtkLabel::copy-clipboard:
|
* GtkLabel::copy-clipboard:
|
||||||
* @self: the object which received the signal
|
* @self: the object which received the signal
|
||||||
*
|
*
|
||||||
* Gets emitted to copy the slection to the clipboard.
|
* Gets emitted to copy the selection to the clipboard.
|
||||||
*
|
*
|
||||||
* The ::copy-clipboard signal is a [keybinding signal](class.SignalAction.html).
|
* The ::copy-clipboard signal is a [keybinding signal](class.SignalAction.html).
|
||||||
*
|
*
|
||||||
|
@ -3560,7 +3560,7 @@ gtk_list_box_row_class_init (GtkListBoxRowClass *klass)
|
|||||||
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkListBoxRow:child: (attributes org.gtk.Proeprty.get=gtk_list_box_row_get_child org.gtk.Property.set=gtk_list_box_row_set_child)
|
* GtkListBoxRow:child: (attributes org.gtk.Property.get=gtk_list_box_row_get_child org.gtk.Property.set=gtk_list_box_row_set_child)
|
||||||
*
|
*
|
||||||
* The child widget.
|
* The child widget.
|
||||||
*/
|
*/
|
||||||
|
@ -588,7 +588,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkNotebookPage:tab:
|
* GtkNotebookPage:tab:
|
||||||
*
|
*
|
||||||
* The tab widget for tihs page.
|
* The tab widget for this page.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
CHILD_PROP_TAB,
|
CHILD_PROP_TAB,
|
||||||
@ -599,7 +599,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkNotebookPage:menu:
|
* GtkNotebookPage:menu:
|
||||||
*
|
*
|
||||||
* The label widget displayed in the childs menu entry.
|
* The label widget displayed in the child's menu entry.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
CHILD_PROP_MENU,
|
CHILD_PROP_MENU,
|
||||||
@ -643,7 +643,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkNotebookPage:tab-expand:
|
* GtkNotebookPage:tab-expand:
|
||||||
*
|
*
|
||||||
* Whether to expand the childs tab.
|
* Whether to expand the child's tab.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
CHILD_PROP_TAB_EXPAND,
|
CHILD_PROP_TAB_EXPAND,
|
||||||
@ -654,7 +654,7 @@ gtk_notebook_page_class_init (GtkNotebookPageClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkNotebookPage:tab-fill:
|
* GtkNotebookPage:tab-fill:
|
||||||
*
|
*
|
||||||
* Whether the childs tab should fill the allocated area.
|
* Whether the child's tab should fill the allocated area.
|
||||||
*/
|
*/
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
CHILD_PROP_TAB_FILL,
|
CHILD_PROP_TAB_FILL,
|
||||||
@ -3301,7 +3301,7 @@ gtk_notebook_switch_page_timeout (gpointer data)
|
|||||||
if (switch_page)
|
if (switch_page)
|
||||||
{
|
{
|
||||||
/* FIXME: hack, we don't want the
|
/* FIXME: hack, we don't want the
|
||||||
* focus to move fom the source widget
|
* focus to move from the source widget
|
||||||
*/
|
*/
|
||||||
notebook->child_has_focus = FALSE;
|
notebook->child_has_focus = FALSE;
|
||||||
gtk_notebook_switch_focus_tab (notebook,
|
gtk_notebook_switch_focus_tab (notebook,
|
||||||
|
@ -330,7 +330,7 @@ gtk_revealer_class_init (GtkRevealerClass *klass)
|
|||||||
GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
|
GTK_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkRevealer:reveal-child: (attributes org.gtk.Proeprty.get=gtk_revealer_get_reveal_child org.gtk.Property.set=gtk_revealer_set_reveal_child)
|
* GtkRevealer:reveal-child: (attributes org.gtk.Property.get=gtk_revealer_get_reveal_child org.gtk.Property.set=gtk_revealer_set_reveal_child)
|
||||||
*
|
*
|
||||||
* Whether the revealer should reveal the child.
|
* Whether the revealer should reveal the child.
|
||||||
*/
|
*/
|
||||||
|
@ -132,7 +132,7 @@
|
|||||||
|
|
||||||
#define MAX_DIGITS (64) /* don't change this,
|
#define MAX_DIGITS (64) /* don't change this,
|
||||||
* a) you don't need to and
|
* a) you don't need to and
|
||||||
* b) you might cause buffer owerflows in
|
* b) you might cause buffer overflows in
|
||||||
* unrelated code portions otherwise
|
* unrelated code portions otherwise
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -247,7 +247,7 @@ pool_alloc (void)
|
|||||||
if (pages == MAP_FAILED)
|
if (pages == MAP_FAILED)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* Fill in the block header, and inlude in block list */
|
/* Fill in the block header, and include in block list */
|
||||||
pool = pages;
|
pool = pages;
|
||||||
pool->next = GTK_SECURE_GLOBALS.pool_data;
|
pool->next = GTK_SECURE_GLOBALS.pool_data;
|
||||||
GTK_SECURE_GLOBALS.pool_data = pool;
|
GTK_SECURE_GLOBALS.pool_data = pool;
|
||||||
@ -1408,7 +1408,7 @@ gtk_secure_records (unsigned int *count)
|
|||||||
if (records == NULL)
|
if (records == NULL)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* Make sure this actualy accounts for all memory */
|
/* Make sure this actually accounts for all memory */
|
||||||
g_assert (total == block->n_words);
|
g_assert (total == block->n_words);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -725,7 +725,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
|
|||||||
/**
|
/**
|
||||||
* GtkSettings:gtk-fontconfig-timestamp:
|
* GtkSettings:gtk-fontconfig-timestamp:
|
||||||
*
|
*
|
||||||
* Timestamp of the curent fontconfig configuration.
|
* Timestamp of the current fontconfig configuration.
|
||||||
*/
|
*/
|
||||||
result = settings_install_property_parser (class,
|
result = settings_install_property_parser (class,
|
||||||
g_param_spec_uint ("gtk-fontconfig-timestamp", NULL, NULL,
|
g_param_spec_uint ("gtk-fontconfig-timestamp", NULL, NULL,
|
||||||
|
@ -869,7 +869,7 @@ gtk_snapshot_collect_gl_shader (GtkSnapshot *snapshot,
|
|||||||
shader_node = NULL;
|
shader_node = NULL;
|
||||||
|
|
||||||
if (n_collected_nodes != 0)
|
if (n_collected_nodes != 0)
|
||||||
g_warning ("Unexpected children when poping gl shader.");
|
g_warning ("Unexpected children when popping gl shader.");
|
||||||
|
|
||||||
if (state->data.glshader.nodes)
|
if (state->data.glshader.nodes)
|
||||||
nodes = state->data.glshader.nodes;
|
nodes = state->data.glshader.nodes;
|
||||||
|
@ -181,7 +181,7 @@
|
|||||||
* below the text node. The orientation of the spin button is reflected in
|
* below the text node. The orientation of the spin button is reflected in
|
||||||
* the .vertical or .horizontal style class on the main node.
|
* the .vertical or .horizontal style class on the main node.
|
||||||
*
|
*
|
||||||
* # Accessiblity
|
* # Accessibility
|
||||||
*
|
*
|
||||||
* `GtkSpinButton` uses the %GTK_ACCESSIBLE_ROLE_SPIN_BUTTON role.
|
* `GtkSpinButton` uses the %GTK_ACCESSIBLE_ROLE_SPIN_BUTTON role.
|
||||||
*/
|
*/
|
||||||
|
@ -894,7 +894,7 @@ gtk_stack_class_init (GtkStackClass *klass)
|
|||||||
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkStack:visible-child-name: (attributes org.gtk.Property.get=gtk_stack_get_visible_child_name org.gtk.Poperty.set=gtk_stack_set_visible_child_name)
|
* GtkStack:visible-child-name: (attributes org.gtk.Property.get=gtk_stack_get_visible_child_name org.gtk.Property.set=gtk_stack_set_visible_child_name)
|
||||||
*
|
*
|
||||||
* The name of the widget currently visible in the stack.
|
* The name of the widget currently visible in the stack.
|
||||||
*/
|
*/
|
||||||
|
@ -160,7 +160,7 @@ gtk_test_list_all_types (guint *n_types)
|
|||||||
*
|
*
|
||||||
* Force registration of all core GTK object types.
|
* Force registration of all core GTK object types.
|
||||||
*
|
*
|
||||||
* This allowes to refer to any of those object types via
|
* This allows to refer to any of those object types via
|
||||||
* g_type_from_name() after calling this function.
|
* g_type_from_name() after calling this function.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
|
@ -225,7 +225,7 @@ action_chain (Action *action,
|
|||||||
if (other->kind == ACTION_KIND_BARRIER)
|
if (other->kind == ACTION_KIND_BARRIER)
|
||||||
{
|
{
|
||||||
/* If we're not in a user action, this barrier is meant to
|
/* If we're not in a user action, this barrier is meant to
|
||||||
* stop items from coallescing into this group.
|
* stop items from coalescing into this group.
|
||||||
*/
|
*/
|
||||||
if (!in_user_action && action->u.group.depth == 0)
|
if (!in_user_action && action->u.group.depth == 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -12577,7 +12577,7 @@ determine_type (GParamSpec *pspec)
|
|||||||
* Installs an action called @action_name on @widget_class and
|
* Installs an action called @action_name on @widget_class and
|
||||||
* binds its state to the value of the @property_name property.
|
* binds its state to the value of the @property_name property.
|
||||||
*
|
*
|
||||||
* This function will perform a few santity checks on the property selected
|
* This function will perform a few sanity checks on the property selected
|
||||||
* via @property_name. Namely, the property must exist, must be readable,
|
* via @property_name. Namely, the property must exist, must be readable,
|
||||||
* writable and must not be construct-only. There are also restrictions
|
* writable and must not be construct-only. There are also restrictions
|
||||||
* on the type of the given property, it must be boolean, int, unsigned int,
|
* on the type of the given property, it must be boolean, int, unsigned int,
|
||||||
|
Loading…
Reference in New Issue
Block a user