Re: [Anjuta-list] Compilation warning
- From: Carlo Agrusti <carlo-ag libero it>
- To: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] Compilation warning
- Date: Fri, 06 Oct 2006 12:19:00 +0200
Fernando Apesteguía ha scritto lo scorso 06/10/2006 11:18:
> Hi all,
>
> I'm getting this warning while compiling my project.
>
> "warning: not enough variable arguments to fit a sentinel"
>
> My gcc version is gcc (GCC) 4.1.2 20060928 (prerelease) (Debian
> 4.1.1-15) and I'm using Anjuta 1.2.4a
>
> The warning comes from this source line:
>
> fch_select = gtk_file_chooser_dialog_new (_("Save Data"), NULL,
> GTK_FILE_CHOOSER_ACTION_SAVE, NULL);
>
It is a gtk+ (neither anjuta non gcc) related issue; you must provide at
least one action button to your file chooser:
dialog = gtk_file_chooser_dialog_new ("Open File",
GTK_WINDOW (parent),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN,
GTK_RESPONSE_ACCEPT,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]