[Pkg-vala-maintainers] Bug#506491: valac: [gtk's vapi] Gtk.MessageDialog.format_secondary_text() takes only one argument

Colomban Wendling ban-ubuntu at club-internet.fr
Sat Nov 22 00:03:47 UTC 2008

Package: valac
Version: 0.3.4-1
Severity: normal

Gtk.MessageDialog.format_secondary_text() does not excpect a printf-like argument list as it should.

I got the following error message with this code: 'dialog.format_secondary_text ("%s", err.message);':
> error: Too many arguments, method `Gtk.MessageDialog.format_secondary_text' does not take 2 arguments

This bug is valuable for Gtk.MessageDialog.format_secondary_markup() too.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages valac depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.16.6-1   The GLib library of C routines
ii  libglib2.0-dev                2.16.6-1   Development files for the GLib lib
ii  libvala0                      0.3.4-1    C# like language for the GObject s

valac recommends no packages.

valac suggests no packages.

-- no debconf information

More information about the Pkg-vala-maintainers mailing list