> > On Tue, Sep 5, 2017 at 11:44 AM Charles Curley < > charlescur...@charlescurley.com> wrote: > > > Arrgghh. GTK 2.24.31 (on Debian 9.1, stretch) informs me that > > gdk_pixbuf_new_from_inline () is deprecated. The documentation tells > > me I should use a Gresource instead but gives no clue how. > > > > After much frustrating experimentation and searching, I figured out how > > to create a suitable icon.c and icon.h (I think). The function in > > icon.h is: > > > > extern GResource *gnome_gps_get_resource (void); > > > > What I don't have is the code to insert a Gresource into the window. > > Ideas? Suggestions? > > I have no idea, personally, but see if something along these lines helps you out:
https://github.com/search?l=C&q=gresource+gtk&type=Code&utf8=%E2%9C%93 /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */