perl-Gtk2 r2147 - in trunk: . xs
- From: tsch svn gnome org
- To: svn-commits-list gnome org
- Subject: perl-Gtk2 r2147 - in trunk: . xs
- Date: Sun, 22 Feb 2009 16:12:47 +0000 (UTC)
Author: tsch
Date: Sun Feb 22 16:12:47 2009
New Revision: 2147
URL: http://svn.gnome.org/viewvc/perl-Gtk2?rev=2147&view=rev
Log:
Fix POD errors reported by podchecker.
Modified:
trunk/ChangeLog
trunk/xs/Gtk2.xs
trunk/xs/GtkTreeModel.xs
trunk/xs/GtkWidget.xs
trunk/xs/GtkWindow.xs
Modified: trunk/xs/Gtk2.xs
==============================================================================
--- trunk/xs/Gtk2.xs (original)
+++ trunk/xs/Gtk2.xs Sun Feb 22 16:12:47 2009
@@ -167,7 +167,9 @@
C<$Gtk2::VERSION> for the version of the bindings, all-caps
(MAJOR|MINOR|MICRO)_VERSION functions for the bound version, and
lower-case (major|minor|micro)_version functions for the runtime version.
-See L<Glib::version> and http://developer.gnome.org/doc/API/2.0/gtk/gtk-Feature-Test-Macros.html for more information.
+See L<Glib::version> and
+L<http://developer.gnome.org/doc/API/2.0/gtk/gtk-Feature-Test-Macros.html>
+for more information.
Note also that gtk_check_version() and GTK_CHECK_VERSION() have different
semantics in C, and we have preserved those faithfully.
@@ -282,11 +284,11 @@
PUSHs (sv_2mortal (newSViv (GTK_MICRO_VERSION)));
PERL_UNUSED_VAR (ax);
-=for apidoc
+=for apidoc
Provides a mechanism for checking the version information that Gtk2 was
compiled against. Essentially equvilent to the macro GTK_CHECK_VERSION. In most
cases this function should be used rather than
-L<check_version ()|Gtk2-E<gt>check_version>.
+L<check_version ()|/"string = Gtk2-E<gt>B<check_version> ($required_major, $required_minor, $required_micro)">.
=cut
gboolean
CHECK_VERSION (class, guint required_major, guint required_minor, guint required_micro)
Modified: trunk/xs/GtkTreeModel.xs
==============================================================================
--- trunk/xs/GtkTreeModel.xs (original)
+++ trunk/xs/GtkTreeModel.xs Sun Feb 22 16:12:47 2009
@@ -1108,7 +1108,7 @@
=for apidoc get_value
=for arg ... of column indices
-Alias for L<get|list = $tree_model-E<gt>get ($iter, ...)>.
+Alias for L<get|/"$tree_model-E<gt>B<get> ($iter, ...)">.
=cut
=for apidoc
Modified: trunk/xs/GtkWidget.xs
==============================================================================
--- trunk/xs/GtkWidget.xs (original)
+++ trunk/xs/GtkWidget.xs Sun Feb 22 16:12:47 2009
@@ -571,7 +571,7 @@
Also remember that the size request is not necessarily the size a widget will
actually be allocated.
-See also L<get_child_requisition ()|requisistion = $widget-E<gt>get_child_requisition ()>
+See also L<get_child_requisition ()|/"requisition = $widget-E<gt>B<get_child_requisition>">
=cut
GtkRequisition_copy *
gtk_widget_size_request (widget)
@@ -600,7 +600,7 @@
geometry instead of the widget's requisition.
This function differs from
-L<size_request()|requisition = $widget-E<gt>size_request ()>
+L<size_request()|/"requisition = $widget-E<gt>B<size_request>">
in that it retrieves the last size request value from
C<< $widget->requisition >>,
while C<size_request()> actually calls the C<size_request> virtual method
@@ -788,9 +788,9 @@
C<set_size_request()>. A value of -1 for I<width> or I<height> indicates
that the dimension has not been explicitly set and the natural requisition
of the widget will be used instead.
-See L<set_size_request()|$widget-E<gt>set_size_request ($width-=1, $height=-1)>.
+See L<set_size_request()|/"$widget-E<gt>B<set_size_request> ($width=-1, $height=-1)">.
To get the size a widget will actually use, call
-L<size_request()|requisition = $widget-E<gt>size_request ()> instead of
+L<size_request()|/"requisition = $widget-E<gt>B<size_request>"> instead of
this function.
=cut
void
Modified: trunk/xs/GtkWindow.xs
==============================================================================
--- trunk/xs/GtkWindow.xs (original)
+++ trunk/xs/GtkWindow.xs Sun Feb 22 16:12:47 2009
@@ -305,11 +305,11 @@
environments may also place it in the window frame, or display it in other
contexts.
-L<set_icon_list ()|$window-E<gt>set_icon_list> allows you to pass in the same icon in several
-hand-drawn sizes. The list should contain the natural sizes your icon is
-available in; that is, don't scale the image before passing it to GTK+.
-Scaling is postponed until the last minute, when the desired final size is
-known, to allow best quality.
+L<set_icon_list ()|/"$window-E<gt>B<set_icon_list> (...)"> allows you to pass
+in the same icon in several hand-drawn sizes. The list should contain the
+natural sizes your icon is available in; that is, don't scale the image before
+passing it to GTK+. Scaling is postponed until the last minute, when the
+desired final size is known, to allow best quality.
By passing several sizes, you may improve the final image quality of the icon,
by reducing or eliminating automatic image scaling.
@@ -333,7 +333,7 @@
# GList* gtk_window_get_icon_list (GtkWindow *window)
=for apidoc
-Retrieves the list of icons set by L<set_icon_list ()|$window-E<gt>set_icon_list>.
+Retrieves the list of icons set by L<set_icon_list()|/"$window-E<gt>B<set_icon_list> (...)">.
=cut
void
gtk_window_get_icon_list (window)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]