[gnome-power-manager] Remove the manual marshalling, it's no longer used



commit c74c03b9f79959671b523c89e87a182932415cc7
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 4 13:00:48 2011 +0100

    Remove the manual marshalling, it's no longer used

 src/.gitignore       |    2 --
 src/Makefile.am      |   17 -----------------
 src/gpm-backlight.c  |    1 -
 src/gpm-marshal.list |   16 ----------------
 4 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/src/.gitignore b/src/.gitignore
index c7742b8..4e271b3 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -9,7 +9,5 @@ gnome-power-preferences
 gnome-power-statistics
 gnome-power-self-test
 gnome-power-backlight-helper
-gpm-marshal.c
-gpm-marshal.h
 org.gnome.PowerManager.Backlight.h
 org.gnome.PowerManager.h
diff --git a/src/Makefile.am b/src/Makefile.am
index f077b6c..34ba65d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,9 +1,6 @@
 ## We require new-style dependency handling.
 AUTOMAKE_OPTIONS = 1.7
 
-EXTRA_DIST =						\
-	gpm-marshal.list
-
 INCLUDES =						\
 	$(GLIB_CFLAGS)					\
 	$(GNOME_CFLAGS)					\
@@ -48,8 +45,6 @@ libgpmshared_a_SOURCES =				\
 	egg-console-kit.c				\
 	gpm-common.h					\
 	gpm-common.c					\
-	gpm-marshal.h					\
-	gpm-marshal.c					\
 	gpm-upower.c					\
 	gpm-upower.h
 
@@ -146,20 +141,8 @@ gnome_power_self_test_LDADD =				\
 
 gnome_power_self_test_CFLAGS = -DEGG_TEST $(AM_CFLAGS) $(WARNINGFLAGS)
 
-BUILT_SOURCES = 					\
-	gpm-marshal.c					\
-	gpm-marshal.h
-
-gpm-marshal.c: gpm-marshal.list
-	echo "#include \"gpm-marshal.h\"" > $@ && \
-	@GLIB_GENMARSHAL@ $< --prefix=gpm_marshal --body >> $@
-
-gpm-marshal.h: gpm-marshal.list
-	@GLIB_GENMARSHAL@ $< --prefix=gpm_marshal --header > $@
-
 clean-local:
 	rm -f *~
-	rm -f gpm-marshal.c gpm-marshal.h
 
 CLEANFILES = $(BUILT_SOURCES)
 
diff --git a/src/gpm-backlight.c b/src/gpm-backlight.c
index bc3e2a7..eeba0ac 100644
--- a/src/gpm-backlight.c
+++ b/src/gpm-backlight.c
@@ -46,7 +46,6 @@
 #include "gpm-common.h"
 #include "gpm-dpms.h"
 #include "gpm-idle.h"
-#include "gpm-marshal.h"
 #include "gpm-stock-icons.h"
 #include "egg-console-kit.h"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]