From b0b271274c98274d4c53608c856194270ae12d0f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 4 Sep 2020 08:26:04 +0100 Subject: Make GTK UI resources more consistent The GTK UI resources have to be different resources between major versions. When kept in one directory with slightly different filenames they were difficult to distinguish and resource definition was difficult to update. The resources for both gtk versions were stored in both builds resulting in unneccessary increased binary size. The new stratagy lists the UI files once in a single gresources file and only includes what is required. If a UI file is added it must be provided in both gtk2 and 3 or a build failure will occour rather than a runtime error. --- frontends/gtk/res/netsurf.gresource.xml | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'frontends/gtk/res/netsurf.gresource.xml') diff --git a/frontends/gtk/res/netsurf.gresource.xml b/frontends/gtk/res/netsurf.gresource.xml index 272c1ade2..ada2d59fc 100644 --- a/frontends/gtk/res/netsurf.gresource.xml +++ b/frontends/gtk/res/netsurf.gresource.xml @@ -1,32 +1,6 @@ - cookies.gtk2.ui - cookies.gtk3.ui - downloads.gtk2.ui - downloads.gtk3.ui - globalhistory.gtk2.ui - globalhistory.gtk3.ui - hotlist.gtk2.ui - hotlist.gtk3.ui - localhistory.gtk2.ui - localhistory.gtk3.ui - netsurf.gtk2.ui - netsurf.gtk3.ui - options.gtk2.ui - options.gtk3.ui - pageinfo.gtk2.ui - pageinfo.gtk3.ui - password.gtk2.ui - password.gtk3.ui - tabcontents.gtk2.ui - tabcontents.gtk3.ui - toolbar.gtk2.ui - toolbar.gtk3.ui - viewdata.gtk2.ui - viewdata.gtk3.ui - warning.gtk3.ui - warning.gtk2.ui favicon.png netsurf.xpm menu_cursor.png -- cgit v1.2.3