Fix a few parameter mismatches in the symbols

This commit is contained in:
Matthias Clasen 2013-02-01 22:53:35 -05:00
parent 48777cb656
commit 5f41eb74a5
2 changed files with 18 additions and 18 deletions

View File

@ -7236,25 +7236,25 @@ gtk_icon_view_set_reorderable (GtkIconView *icon_view,
/** /**
* gtk_icon_view_set_activate_on_single_click: * gtk_icon_view_set_activate_on_single_click:
* @icon_view: a #GtkIconView * @icon_view: a #GtkIconView
* @setting: %TRUE to emit item-activated on a single click * @single: %TRUE to emit item-activated on a single click
* *
* Causes the "item-activated" signal to be emitted on a single click * Causes the #GtkIconView::item-activated signal to be emitted on
* instead of a double click. * a single click instead of a double click.
* *
* Since: 3.8 * Since: 3.8
**/ **/
void void
gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_view, gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_view,
gboolean setting) gboolean single)
{ {
g_return_if_fail (GTK_IS_ICON_VIEW (icon_view)); g_return_if_fail (GTK_IS_ICON_VIEW (icon_view));
setting = setting != FALSE; single = single != FALSE;
if (icon_view->priv->activate_on_single_click == setting) if (icon_view->priv->activate_on_single_click == single)
return; return;
icon_view->priv->activate_on_single_click = setting; icon_view->priv->activate_on_single_click = single;
g_object_notify (G_OBJECT (icon_view), "activate-on-single-click"); g_object_notify (G_OBJECT (icon_view), "activate-on-single-click");
} }
@ -7269,7 +7269,7 @@ gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_view,
* Since: 3.8 * Since: 3.8
**/ **/
gboolean gboolean
gtk_icon_view_get_activate_on_single_click (GtkIconView *icon_view) gtk_icon_view_get_activate_on_single_click (GtkIconView *icon_view)
{ {
g_return_val_if_fail (GTK_IS_ICON_VIEW (icon_view), FALSE); g_return_val_if_fail (GTK_IS_ICON_VIEW (icon_view), FALSE);

View File

@ -11839,25 +11839,25 @@ gtk_tree_view_get_rules_hint (GtkTreeView *tree_view)
/** /**
* gtk_tree_view_set_activate_on_single_click: * gtk_tree_view_set_activate_on_single_click:
* @tree_view: a #GtkTreeView * @tree_view: a #GtkTreeView
* @setting: %TRUE to emit row-activated on a single click * @single: %TRUE to emit row-activated on a single click
* *
* Cause the "row-activated" signal to be emitted on a single click * Cause the #GtkTreeView::row-activated signal to be emitted
* instead of a double click. * on a single click instead of a double click.
* *
* Since: 3.8 * Since: 3.8
**/ **/
void void
gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view, gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
gboolean setting) gboolean single)
{ {
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view)); g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
setting = setting != FALSE; single = single != FALSE;
if (tree_view->priv->activate_on_single_click == setting) if (tree_view->priv->activate_on_single_click == single)
return; return;
tree_view->priv->activate_on_single_click = setting; tree_view->priv->activate_on_single_click = single;
g_object_notify (G_OBJECT (tree_view), "activate-on-single-click"); g_object_notify (G_OBJECT (tree_view), "activate-on-single-click");
} }
@ -11872,7 +11872,7 @@ gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
* Since: 3.8 * Since: 3.8
**/ **/
gboolean gboolean
gtk_tree_view_get_activate_on_single_click (GtkTreeView *tree_view) gtk_tree_view_get_activate_on_single_click (GtkTreeView *tree_view)
{ {
g_return_val_if_fail (GTK_IS_TREE_VIEW (tree_view), FALSE); g_return_val_if_fail (GTK_IS_TREE_VIEW (tree_view), FALSE);