Remove unused function 11/63311/1
authorHyunho Kang <hhstark.kang@samsung.com>
Wed, 23 Mar 2016 05:40:12 +0000 (14:40 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Wed, 23 Mar 2016 06:43:10 +0000 (15:43 +0900)
Change-Id: Ie30dc335a47594f0e48da9bc260e56958fc89bd4
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
src/notification_service.c
src/service_common.c

index 5aebfcb..665edf3 100755 (executable)
@@ -49,22 +49,6 @@ static int _update_noti(GVariant **reply_body, notification_h noti);
 /*!
  * NOTIFICATION SERVICE INITIALIZATION
  */
-       static void _print_noti(notification_h noti) {
-               char *pkgname = NULL;
-               char *text = NULL;
-               char *content = NULL;
-               const char *tag = NULL;
-
-               notification_get_pkgname(noti, &pkgname);
-               notification_get_text(noti, NOTIFICATION_TEXT_TYPE_TITLE, &text);
-               notification_get_text(noti, NOTIFICATION_TEXT_TYPE_CONTENT, &content);
-               notification_get_tag(noti, &tag);
-
-               DbgPrint("client print_noti  pkgname  = %s ", pkgname );
-               DbgPrint("client print_noti  title      = %s ", text );
-               DbgPrint("client print_noti  content  = %s ", content );
-               DbgPrint("client print_noti  tag  = %s ", tag );
-       }
 
 static void _on_name_appeared(GDBusConnection *connection,
                const gchar     *name,
@@ -404,7 +388,7 @@ int notification_load_noti_by_tag(GVariant *parameters, GVariant **reply_body)
                ret = notification_noti_get_by_tag(noti, pkgname, tag);
 
                DbgPrint("notification_noti_get_by_tag ret : %d", ret);
-               _print_noti(noti);
+               print_noti(noti);
 
                *reply_body = notification_ipc_make_gvariant_from_noti(noti);
                notification_free(noti);
index 7ea73f1..b42b7e2 100755 (executable)
@@ -53,7 +53,7 @@ void print_noti(notification_h noti) {
        DbgPrint("provider print_noti  title  = %s ", text );
        DbgPrint("provider print_noti  content  = %s ", content );
        DbgPrint("provider print_noti  tag  = %s ", tag );
-       DbgPrint("provider print_noti  vibration_path  = %s ", vibration_path);
+       DbgPrint("provider print_noti  vibration_path  = %s %d", vibration_path, type);
 }
 
 int send_notify(GVariant *body, char *cmd, GList *monitoring_app_list, char *interface_name)