From 4c73eea21f9547ac09cf1f99ad99740f347839c2 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Tue, 10 May 2011 14:56:00 -0400 Subject: Completed the great renaming. Time for a test build. --- src/Makefile.am | 28 ++++++++++++++-------------- src/notifications-service.c | 1 - src/settings-shared.h | 6 +++--- 3 files changed, 17 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index c92cece..67aecd2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,30 +1,30 @@ -libexec_PROGRAMS = indicator-example-service +libexec_PROGRAMS = indicator-notifications-service -indicator_example_service_SOURCES = \ - example-service.c \ +indicator_notifications_service_SOURCES = \ + notifications-service.c \ dbus-shared.h \ settings-shared.h -indicator_example_service_CFLAGS = \ +indicator_notifications_service_CFLAGS = \ -Wall \ $(SERVICE_CFLAGS) \ - -DG_LOG_DOMAIN=\"Indicator-Example\" -indicator_example_service_LDADD = \ + -DG_LOG_DOMAIN=\"Indicator-Notifications\" +indicator_notifications_service_LDADD = \ $(SERVICE_LIBS) -examplelibdir = $(INDICATORDIR) -examplelib_LTLIBRARIES = libexample.la -libexample_la_SOURCES = \ +notificationslibdir = $(INDICATORDIR) +notificationslib_LTLIBRARIES = libnotifications.la +libnotifications_la_SOURCES = \ dbus-shared.h \ settings-shared.h \ - indicator-example.c -libexample_la_CFLAGS = \ + indicator-notifications.c +libnotifications_la_CFLAGS = \ $(INDICATOR_CFLAGS) \ -Wall \ - -DG_LOG_DOMAIN=\"Indicator-Example\" -libexample_la_LIBADD = \ + -DG_LOG_DOMAIN=\"Indicator-Notifications\" +libnotifications_la_LIBADD = \ $(INDICATOR_LIBS) -libexample_la_LDFLAGS = \ +libnotifications_la_LDFLAGS = \ -module \ -avoid-version diff --git a/src/notifications-service.c b/src/notifications-service.c index 219a7ff..2d551e9 100644 --- a/src/notifications-service.c +++ b/src/notifications-service.c @@ -115,7 +115,6 @@ main(int argc, char **argv) mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); - g_object_unref(G_OBJECT(dbus)); g_object_unref(G_OBJECT(service)); g_object_unref(G_OBJECT(server)); g_object_unref(G_OBJECT(root)); diff --git a/src/settings-shared.h b/src/settings-shared.h index 0634a02..de10b3d 100644 --- a/src/settings-shared.h +++ b/src/settings-shared.h @@ -17,9 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef __EXAMPLE_SETTINGS_SHARED_H__ -#define __EXAMPLE_SETTINGS_SHARED_H__ +#ifndef __NOTIFICATIONS_SETTINGS_SHARED_H__ +#define __NOTIFICATIONS_SETTINGS_SHARED_H__ -#define SETTINGS_INTERFACE "com.example.indicator.example" +#define SETTINGS_INTERFACE "com.launchpad.recent-notifications.indicator" #endif -- cgit v1.2.3