shell: Merge libgnome-control-center into main binary

This fixes problems with the CcEditableEntry type not being
registered and causing the printers and user-accounts panels not to
work. As we do not need to work on Windows, we do not need to split
out the library.
This commit is contained in:
Bastien Nocera 2011-11-07 17:51:54 +00:00
parent acd1d3c6df
commit 27c45abda3
11 changed files with 9 additions and 37 deletions

View file

@ -1,7 +1,7 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = po libgnome-control-center shell panels help
DIST_SUBDIRS = po help shell panels libgnome-control-center
SUBDIRS = po shell panels help
DIST_SUBDIRS = po help shell panels
DISTCLEANFILES = \
gnome-doc-utils.make

View file

@ -307,7 +307,6 @@ fi
AC_CONFIG_FILES([
Makefile
help/Makefile
libgnome-control-center/Makefile
panels/Makefile
panels/common/Makefile
panels/background/Makefile

View file

@ -1,31 +0,0 @@
NULL =
uidir = $(pkgdatadir)/ui
AM_CPPFLAGS = \
$(LIBGNOME_CONTROL_CENTER_CFLAGS) \
-DGNOMELOCALEDIR="\"$(datadir)/locale\""\
-DUIDIR="\"$(uidir)\"" \
-DMENUDIR="\"$(menudir)\"" \
$(NULL)
noinst_LTLIBRARIES = libgnome-control-center.la
libgnome_control_center_la_SOURCES = \
cc-panel.c \
cc-panel.h \
cc-shell.c \
cc-shell.h \
cc-editable-entry.c \
cc-editable-entry.h \
$(NULL)
libgnome_control_center_la_LDFLAGS = \
-no-undefined \
$(NULL)
libgnome_control_center_la_LIBADD = \
$(LIBGNOME_CONTROL_CENTER_LIBS) \
$(NULL)
-include $(top_srcdir)/git.mk

View file

@ -1,6 +1,5 @@
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/libgnome-control-center \
$(SHELL_CFLAGS)
bin_PROGRAMS = gnome-control-center
@ -28,10 +27,15 @@ gnome_control_center_SOURCES = \
cc-shell-item-view.h \
cc-shell-model.c \
cc-shell-model.h \
cc-editable-entry.c \
cc-editable-entry.h \
cc-panel.c \
cc-panel.h \
cc-shell.c \
cc-shell.h \
$(MARSHAL_FILES)
gnome_control_center_LDADD = \
$(top_builddir)/libgnome-control-center/libgnome-control-center.la \
$(SHELL_LIBS)
gnome_control_center_LDFLAGS = -export-dynamic

View file

@ -22,7 +22,7 @@
#define _GNOME_CONTROL_CENTER_H
#include <glib-object.h>
#include <libgnome-control-center/cc-shell.h>
#include "cc-shell.h"
G_BEGIN_DECLS