[gnome-control-center] Move cc-util into panels/common
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Move cc-util into panels/common
- Date: Tue, 19 Feb 2013 11:31:46 +0000 (UTC)
commit cfa16a070de22207b93e2035d4f0528b1404e51b
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Feb 4 19:35:01 2013 +0100
Move cc-util into panels/common
We need this in some panels too.
panels/common/Makefile.am | 2 ++
{shell => panels/common}/cc-util.c | 0
{shell => panels/common}/cc-util.h | 0
search-provider/Makefile.am | 2 ++
search-provider/cc-search-provider.c | 3 ++-
shell/Makefile.am | 6 +++---
6 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/panels/common/Makefile.am b/panels/common/Makefile.am
index e262d3b..6655972 100644
--- a/panels/common/Makefile.am
+++ b/panels/common/Makefile.am
@@ -13,6 +13,8 @@ BUILT_SOURCES = \
liblanguage_la_SOURCES = \
$(BUILT_SOURCES) \
+ cc-util.c \
+ cc-util.h \
cc-common-language.c \
cc-common-language.h \
cc-language-chooser.c \
diff --git a/shell/cc-util.c b/panels/common/cc-util.c
similarity index 100%
rename from shell/cc-util.c
rename to panels/common/cc-util.c
diff --git a/shell/cc-util.h b/panels/common/cc-util.h
similarity index 100%
rename from shell/cc-util.h
rename to panels/common/cc-util.h
diff --git a/search-provider/Makefile.am b/search-provider/Makefile.am
index 3ea315d..d0126a5 100644
--- a/search-provider/Makefile.am
+++ b/search-provider/Makefile.am
@@ -16,6 +16,7 @@ INCLUDES = \
-DCC_PANEL_LOADER_NO_GTYPES \
-I$(top_srcdir) \
$(SHELL_CFLAGS) \
+ -I$(top_srcdir)/panels/common/ \
-I$(top_srcdir)/libgd
libexec_PROGRAMS = gnome-control-center-search-provider
@@ -32,6 +33,7 @@ gnome_control_center_search_provider_SOURCES = \
cc-search-provider.h
gnome_control_center_search_provider_LDADD = \
+ $(top_builddir)/panels/common/liblanguage.la \
$(top_builddir)/shell/libshell.la \
$(SHELL_LIBS)
diff --git a/search-provider/cc-search-provider.c b/search-provider/cc-search-provider.c
index ac92b7d..70d8642 100644
--- a/search-provider/cc-search-provider.c
+++ b/search-provider/cc-search-provider.c
@@ -28,7 +28,8 @@
#include <shell/cc-panel.h>
#include <shell/cc-shell-model.h>
#include <shell/cc-panel-loader.h>
-#include <shell/cc-util.h>
+
+#include "cc-util.h"
#include "control-center-search-provider.h"
#include "cc-search-provider.h"
diff --git a/shell/Makefile.am b/shell/Makefile.am
index ffa5ea3..f9f9070 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -2,6 +2,7 @@ INCLUDES = \
-I$(top_srcdir) \
$(SHELL_CFLAGS) \
$(CHEESE_CFLAGS) \
+ -I$(top_srcdir)/panels/common/ \
-I$(top_srcdir)/libgd
all-local: check-local
@@ -10,9 +11,7 @@ noinst_LTLIBRARIES = libshell.la
libshell_la_SOURCES = \
cc-shell-model.c \
- cc-shell-model.h \
- cc-util.c \
- cc-util.h
+ cc-shell-model.h
bin_PROGRAMS = gnome-control-center
@@ -50,6 +49,7 @@ gnome_control_center_LDADD = \
$(SHELL_LIBS) \
$(CHEESE_LIBS) \
$(top_builddir)/libgd/libgd.la \
+ $(top_builddir)/panels/common/liblanguage.la \
$(top_builddir)/panels/background/libbackground.la \
$(top_builddir)/panels/color/libcolor.la \
$(top_builddir)/panels/datetime/libdate_time.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]