[gtk+] Fix a few documentation parameter names
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a few documentation parameter names
- Date: Sat, 23 Jul 2016 12:38:07 +0000 (UTC)
commit dd09e252c937302f9519b088ff6963e826a95b85
Author: Timm Bäder <mail baedert org>
Date: Sat Jul 23 14:07:47 2016 +0200
Fix a few documentation parameter names
gtk/gtkfilechooser.c | 2 +-
gtk/gtkfilefilter.c | 2 +-
gtk/gtkpapersize.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c
index 18cc5af..0a27b9c 100644
--- a/gtk/gtkfilechooser.c
+++ b/gtk/gtkfilechooser.c
@@ -2318,7 +2318,7 @@ gtk_file_chooser_remove_choice (GtkFileChooser *chooser,
* gtk_file_chooser_set_choice:
* @chooser: a #GtkFileChooser
* @id: the ID of the choice to set
- * @selected: the ID of the option to select
+ * @option: the ID of the option to select
*
* Selects an option in a 'choice' that has been added with
* gtk_file_chooser_add_choice(). For a boolean choice, the
diff --git a/gtk/gtkfilefilter.c b/gtk/gtkfilefilter.c
index 7ca8e39..c843cc3 100644
--- a/gtk/gtkfilefilter.c
+++ b/gtk/gtkfilefilter.c
@@ -721,7 +721,7 @@ gtk_file_filter_filter (GtkFileFilter *filter,
/**
* gtk_file_filter_to_gvariant:
- * @settings: a #GtkFileFilter
+ * @filter: a #GtkFileFilter
*
* Serialize a file filter to an a{sv} variant.
*
diff --git a/gtk/gtkpapersize.h b/gtk/gtkpapersize.h
index daa78e8..c125070 100644
--- a/gtk/gtkpapersize.h
+++ b/gtk/gtkpapersize.h
@@ -167,7 +167,7 @@ void gtk_paper_size_to_key_file (GtkPaperSize *size,
GDK_AVAILABLE_IN_3_22
GtkPaperSize *gtk_paper_size_new_from_gvariant (GVariant *variant);
GDK_AVAILABLE_IN_3_22
-GVariant *gtk_paper_size_to_gvariant (GtkPaperSize *size);
+GVariant *gtk_paper_size_to_gvariant (GtkPaperSize *paper_size);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]