summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/gtkiconview.c18
-rw-r--r--gtk/gtktreeview.c18
2 files changed, 18 insertions, 18 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index c6f41d30d0..ffbbbba3ca 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -7236,25 +7236,25 @@ gtk_icon_view_set_reorderable (GtkIconView *icon_view,
/**
* gtk_icon_view_set_activate_on_single_click:
* @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
- * instead of a double click.
+ * Causes the #GtkIconView::item-activated signal to be emitted on
+ * a single click instead of a double click.
*
* Since: 3.8
**/
void
-gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_view,
- gboolean setting)
+gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_view,
+ gboolean single)
{
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;
- 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");
}
@@ -7269,7 +7269,7 @@ gtk_icon_view_set_activate_on_single_click (GtkIconView *icon_view,
* Since: 3.8
**/
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);
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 5de8fed730..6da71f1183 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -11839,25 +11839,25 @@ gtk_tree_view_get_rules_hint (GtkTreeView *tree_view)
/**
* gtk_tree_view_set_activate_on_single_click:
* @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
- * instead of a double click.
+ * Cause the #GtkTreeView::row-activated signal to be emitted
+ * on a single click instead of a double click.
*
* Since: 3.8
**/
void
-gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
- gboolean setting)
+gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
+ gboolean single)
{
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;
- 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");
}
@@ -11872,7 +11872,7 @@ gtk_tree_view_set_activate_on_single_click (GtkTreeView *tree_view,
* Since: 3.8
**/
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);