[perl-Gtk3] Correct an error message



commit dd4b9e732fe3c9127a9937dc8430c5cb1cf6a0d5
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Thu Jan 17 23:01:16 2013 +0100

    Correct an error message

 lib/Gtk3.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/Gtk3.pm b/lib/Gtk3.pm
index f6f07eb..7b0be27 100644
--- a/lib/Gtk3.pm
+++ b/lib/Gtk3.pm
@@ -1184,8 +1184,8 @@ sub _common_tree_model_set {
   my ($package, $model, $iter, @columns_and_values) = @_;
   my ($columns, $values) = _unpack_columns_and_values (\ columns_and_values);
   if (not defined $columns) {
-    croak ('Usage: Gtk3::${package}::set ($store, \ columns, \ values)',
-           ' -or-: Gtk3::${package}::set ($store, $column1 => $value1, ...)');
+    croak ("Usage: Gtk3::${package}::set (\$model, \$iter, \ columns, \ values)",
+           " -or-: Gtk3::${package}::set (\$model, \$iter, \$column1 => \$value1, ...)");
   }
   my @wrapped_values = ();
   foreach my $i (0..$#{$columns}) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]