No need to log extra messages here.
authorRoy Marples <roy@marples.name>
Wed, 7 May 2014 08:22:41 +0000 (08:22 +0000)
committerRoy Marples <roy@marples.name>
Wed, 7 May 2014 08:22:41 +0000 (08:22 +0000)
src/dhcpcd-gtk/main.c

index 3319cacfec059b842b5fb808523e936427cfac07..a2d1dc66b0ba40ec8c98ce513add9a3bb60c72aa 100644 (file)
@@ -191,7 +191,6 @@ notify_closed(void)
 static void
 notify(const char *title, const char *msg, const char *icon)
 {
-       char **msgs, **m;
 
        if (msg == NULL)
                return;
@@ -203,11 +202,6 @@ notify(const char *title, const char *msg, const char *icon)
        }
        notify_last_msg = g_strdup(msg);
 
-       msgs = g_strsplit(msg, "\n", 0);
-       for (m = msgs; *m; m++)
-               g_message("%s", *m);
-       g_strfreev(msgs);
-
        if (nn != NULL)
                notify_notification_close(nn, NULL);