diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-04-24 05:42:12 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-04-24 05:42:12 +0000 |
commit | 0d10969b9fc8635d46153351a3bdbca3ae4fe271 (patch) | |
tree | e0c9af0e2d673adf64d95eff4d0c0f1d5055f22c /gtk/gtkprintsettings.c | |
parent | bb23cebf1b5c572c68231f661268205ff892696b (diff) | |
download | gtk+-0d10969b9fc8635d46153351a3bdbca3ae4fe271.tar.gz |
Match parameter names with the headers.
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkclipboard.h:
* gtk/gtkprinter.c:
* gtk/gtkprintsettings.h:
* gtk/gtkprintsettings.c: Match parameter names with the headers.
* gtk/gtkprintoperation-unix.c (gtk_print_run_page_setup_dialog):
Add docs.
* gtk/gtktextbufferrichtext.c (gtk_text_buffer_deserialize):
* gtk/gtkstatusicon.c (gtk_status_icon_get_storage_type):
* gtk/gtktreeview.c (gtk_tree_view_set_search_position_func):
* gtk/gtktreeview.c (gtk_tree_view_get_headers_clickable):
* gtk/gtkcellrendererspin.c (gtk_cell_renderer_spin_new):
* gtk/gtkmenu.c (gtk_menu_get_for_attach_widget): Fix the docs.
Diffstat (limited to 'gtk/gtkprintsettings.c')
-rw-r--r-- | gtk/gtkprintsettings.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkprintsettings.c b/gtk/gtkprintsettings.c index 5bd47202c3..2cac68f2f5 100644 --- a/gtk/gtkprintsettings.c +++ b/gtk/gtkprintsettings.c @@ -385,7 +385,7 @@ gtk_print_settings_get_length (GtkPrintSettings *settings, * gtk_print_settings_set_length: * @settings: a #GtkPrintSettings * @key: a key - * @length: a length + * @value: a length * @unit: the unit of @length * * Associates a length in units of @unit with @key. @@ -395,11 +395,11 @@ gtk_print_settings_get_length (GtkPrintSettings *settings, void gtk_print_settings_set_length (GtkPrintSettings *settings, const gchar *key, - gdouble length, + gdouble value, GtkUnit unit) { gtk_print_settings_set_double (settings, key, - _gtk_print_convert_to_mm (length, unit)); + _gtk_print_convert_to_mm (value, unit)); } /** @@ -943,7 +943,7 @@ gtk_print_settings_get_quality (GtkPrintSettings *settings) /** * gtk_print_settings_set_quality: * @settings: a #GtkPrintSettings - * @duplex: a #GtkPrintQuality value + * @quality: a #GtkPrintQuality value * * Sets the value of %GTK_PRINT_SETTINGS_QUALITY. * @@ -1088,7 +1088,7 @@ gtk_print_settings_get_number_up (GtkPrintSettings *settings) /** * gtk_print_settings_set_number_up: * @settings: a #GtkPrintSettings - * @num_copies: the number of pages per sheet + * @number_up: the number of pages per sheet * * Sets the value of %GTK_PRINT_SETTINGS_NUMBER_UP. * @@ -1156,7 +1156,7 @@ gtk_print_settings_get_scale (GtkPrintSettings *settings) /** * gtk_print_settings_set_scale: * @settings: a #GtkPrintSettings - * @resolution: the scale in percent + * @scale: the scale in percent * * Sets the value of %GTK_PRINT_SETTINGS_SCALE. * @@ -1237,7 +1237,7 @@ gtk_print_settings_get_print_pages (GtkPrintSettings *settings) /** * gtk_print_settings_set_print_pages: * @settings: a #GtkPrintSettings - * @print_pages: a #GtkPrintPages value + * @pages: a #GtkPrintPages value * * Sets the value of %GTK_PRINT_SETTINGS_PRINT_PAGES. * @@ -1245,11 +1245,11 @@ gtk_print_settings_get_print_pages (GtkPrintSettings *settings) */ void gtk_print_settings_set_print_pages (GtkPrintSettings *settings, - GtkPrintPages print_pages) + GtkPrintPages pages) { const gchar *str; - switch (print_pages) + switch (pages) { default: case GTK_PRINT_PAGES_ALL: |