Re: [Anjuta-list] Compilation warning
- From: "Fernando Apesteguía" <fernando apesteguia gmail com>
- To: "Carlo Agrusti" <carlo-ag libero it>
- Cc: anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] Compilation warning
- Date: Fri, 6 Oct 2006 13:48:39 +0200
On 10/6/06, Carlo Agrusti <carlo-ag libero it> wrote:
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);
Many thanks, both of you are right, that was the problem and this
wasn't the proper list to ask :)
My apologies (and thanks)
Best Regards
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Anjuta-list mailing list
Anjuta-list lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/anjuta-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]