[Xfce4-commits] [xfce/libxfce4ui] 01/01: Attempt to fix missing gresource file (Bug #13705)

noreply at xfce.org noreply at xfce.org
Tue Jul 18 17:20:06 CEST 2017


This is an automated email from the git hooks/post-receive script.

e   r   i   c       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/libxfce4ui.

commit abc5144ad8ed42eaf4256facf395e8df97a6535c
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Tue Jul 18 14:28:31 2017 +0300

    Attempt to fix missing gresource file (Bug #13705)
    
    Go back to how the 4.13.1 gresource handling was done and try to
    keep the check_abi script happy at the same time.
---
 libxfce4ui/Makefile.am    | 14 +++++++++-----
 libxfce4ui/xfce-dialogs.c |  1 +
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/libxfce4ui/Makefile.am b/libxfce4ui/Makefile.am
index feaee0d..8a6e256 100644
--- a/libxfce4ui/Makefile.am
+++ b/libxfce4ui/Makefile.am
@@ -33,7 +33,9 @@ libxfce4ui_built_sources = \
 	libxfce4ui-enum-types.c \
 	libxfce4ui-enum-types.h \
 	libxfce4ui-marshal.c \
-	libxfce4ui-marshal.h
+	libxfce4ui-marshal.h \
+	libxfce4ui-resources.c \
+	libxfce4ui-resources.h
 
 libxfce4ui_sources = \
 	$(libxfce4ui_headers) \
@@ -103,10 +105,6 @@ LIBXFCE4UI_RESOURCE_FILES = \
 	libxfce4ui-dialog-ui.ui \
 	$(NULL)
 
-libxfce4ui-resources.c: libxfce4ui.gresource.xml $(LIBXFCE4UI_RESOURCE_FILES)
-	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source --internal --c-name libxfce4ui libxfce4ui.gresource.xml
-
-
 include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ENV = CC="$(CC)"
@@ -243,6 +241,12 @@ libxfce4ui-enum-types.c: $(libxfce4ui_enum_headers) Makefile
 		$(libxfce4ui_enum_headers) ) > xgen-letc
 	cp xgen-letc libxfce4ui-enum-types.c
 	rm -f xgen-letc
+
+libxfce4ui-resources.c: libxfce4ui.gresource.xml $(LIBXFCE4UI_RESOURCE_FILES)
+	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source --internal --c-name libxfce4ui libxfce4ui.gresource.xml
+libxfce4ui-resources.h: libxfce4ui.gresource.xml $(LIBXFCE4UI_RESOURCE_FILES)
+	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header --internal --c-name libxfce4ui libxfce4ui.gresource.xml
+
 endif
 
 # required for gtk-doc
diff --git a/libxfce4ui/xfce-dialogs.c b/libxfce4ui/xfce-dialogs.c
index 60a2340..cf402f9 100644
--- a/libxfce4ui/xfce-dialogs.c
+++ b/libxfce4ui/xfce-dialogs.c
@@ -54,6 +54,7 @@
 #include <libxfce4ui/libxfce4ui-private.h>
 #include <libxfce4ui/libxfce4ui-alias.h>
 
+#include "libxfce4ui-resources.h"
 
 static void
 xfce_dialog_show_help_auto_toggled (GtkWidget *button)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list