[Gnucash-changes] r14287 - gnucash/trunk -

Derek Atkins warlord at MIT.EDU
Thu Jun 1 16:44:20 EDT 2006


Andreas Köhler <andi5 at cvs.gnucash.org> writes:

> +static GtkWidget *
> +gnc_prefs_find_page (GtkNotebook *notebook, const gchar *name)
>  {
> -  struct find_data *location;
> -  const gchar *child_tabname;
> -  gint index;
> +  int n_pages;
> +  GtkWidget *child;
> +  const gchar *child_name;
[snip]
> +
> +  for (int i=0; i<n_pages; i++) {

Uhh, this isn't a legal C99 construct.  I think you've been heads-down
in C++ too much.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available




More information about the gnucash-devel mailing list