[perl-Gtk2] Hide the few Gtk2::PrintSettings accessors that slipped in
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2] Hide the few Gtk2::PrintSettings accessors that slipped in
- Date: Sat, 24 Apr 2010 21:08:06 +0000 (UTC)
commit 881677a8e446b66586fe166e3ae9a595ba72d185
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Sat Apr 24 20:34:21 2010 +0200
Hide the few Gtk2::PrintSettings accessors that slipped in
We don't wrap gtk_print_settings_get_* and gtk_print_settings_set_*
because the generic functions gtk_print_settings_get and
gtk_print_settings_set suffice. But a few specialized accessors
accidentally slipped in. Mark them such that the doc generator doesn't
list them.
xs/GtkPrintSettings.xs | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/xs/GtkPrintSettings.xs b/xs/GtkPrintSettings.xs
index 299c4a2..6d19cd4 100644
--- a/xs/GtkPrintSettings.xs
+++ b/xs/GtkPrintSettings.xs
@@ -122,18 +122,28 @@ gtk_print_settings_load_key_file (GtkPrintSettings *settings, GKeyFile *key_file
#endif /* 2.14 */
# We do not wrap the convenience getters and setters intentionally, but these
-# few slipped in accidentally:
+# few slipped in accidentally. We hide them in the generated POD.
#if GTK_CHECK_VERSION (2, 16, 0)
+=for apidoc __hide__
+=cut
gdouble gtk_print_settings_get_printer_lpi (GtkPrintSettings *settings);
+=for apidoc __hide__
+=cut
gint gtk_print_settings_get_resolution_x (GtkPrintSettings *settings);
+=for apidoc __hide__
+=cut
gint gtk_print_settings_get_resolution_y (GtkPrintSettings *settings);
+=for apidoc __hide__
+=cut
void gtk_print_settings_set_printer_lpi (GtkPrintSettings *settings, gdouble lpi);
+=for apidoc __hide__
+=cut
void gtk_print_settings_set_resolution_xy (GtkPrintSettings *settings, gint resolution_x, gint resolution_y);
#endif /* 2.16 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]