I think the idea of GResource (from what I just read, haha) is that you
have it in a separate file so you're not just working with a data string,
but when the project compiles it gets compiled into the resulting
executable binary.  Is that not sufficient?

On Tue, Sep 5, 2017 at 2:51 PM, Charles Curley <
[email protected]> wrote:

> On Tue, 5 Sep 2017 14:30:46 -0700
> John Shaver <[email protected]> wrote:
>
> > How about this approach from this unaccepted answer on stackoverflow?
> >
> > https://stackoverflow.com/a/44346622
> >
> > Seems like it might treat it like a file in the code, but compile it
> > into the binary?  I'm not sure.  I haven't done much C.
>
> You are right, that example gets the icon from a separate file, which I
> would like to avoid. I had found that earlier, and it did help me with
> the resource.xml file.
>
> Thanks for the thought, though.
>
>
> --
>
> The right of the people to be secure in their persons, houses, papers,
> and effects, against unreasonable searches and seizures, shall not be
> violated, and no Warrants shall issue, but upon probable cause,
> supported by Oath or affirmation, and particularly describing the
> place to be searched, and the persons or things to be seized.
> -- U.S. Const. Amendment IV
>
> Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
>
> /*
> PLUG: http://plug.org, #utah on irc.freenode.net
> Unsubscribe: http://plug.org/mailman/options/plug
> Don't fear the penguin.
> */
>

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to