Mercurial > dwindows
diff gtk3/dw.c @ 2204:b86ae2abb3b3
GTK: Added GTK2 support for GResource embedded images.
Removed the App ID from the resource namespace. I assume the namespace is
per process and this should be sufficient, but can revisit adding the
application name or application ID to the resource namespace later.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 29 Nov 2020 05:29:11 +0000 |
parents | c677d728e143 |
children | a43a3f80ed32 |
line wrap: on
line diff
--- a/gtk3/dw.c Sun Nov 29 04:17:58 2020 +0000 +++ b/gtk3/dw.c Sun Nov 29 05:29:11 2020 +0000 @@ -1924,7 +1924,7 @@ { #if GLIB_CHECK_VERSION(2,32,0) char resource_path[201] = {0}; - snprintf(resource_path, 200, "/org/dbsoft/dwindows/%s/%u", _dw_app_id, rid); + snprintf(resource_path, 200, "/org/dbsoft/dwindows/%u", rid); return gdk_pixbuf_new_from_resource(resource_path, NULL); #else return NULL;