diff options
-rw-r--r-- | src/Makefile.am | 28 | ||||
-rw-r--r-- | src/notifications-service.c | 1 | ||||
-rw-r--r-- | src/settings-shared.h | 6 |
3 files changed, 17 insertions, 18 deletions
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 <http://www.gnu.org/licenses/>. */ -#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 |