pspp-dev
[Top][All Lists]
Advanced

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

Re: [PATCH 11/17] pspp-widget-facade: New code to measure and render som


From: Ben Pfaff
Subject: Re: [PATCH 11/17] pspp-widget-facade: New code to measure and render some GTK+ widgets.
Date: Mon, 23 Apr 2012 22:43:28 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

John Darrington <address@hidden> writes:

> On Sun, Apr 22, 2012 at 11:12:29AM -0700, Ben Pfaff wrote:
>      +
>      +  va_start (args, type1);
>      +  for (type = final_type = type1; type != 0; type = va_arg (args, 
> GType))
>      +    {
>      +      const gchar *type_name = g_type_name (type);
>      +      g_string_append_printf (&path, ".%s", type_name);
>      +      g_string_append_printf (&class_path, ".%s", type_name);
>      +      final_type = type;
>      +    }
>      +
>      +  style = gtk_rc_get_style_by_paths (gtk_widget_get_settings (base),
>      +                                     path.str, class_path.str, 
> final_type);
>
>
> There does not appear to be a va_end closing this va_start.

Thanks, I added one just after the loop.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]