From 97d29ed684582c430db200feb09b3be33f3f8bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 31 Dec 2024 00:12:04 +0100 Subject: [PATCH] restart: Replace meta_warning() with g_warning() Part-of: --- src/core/restart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/restart.c b/src/core/restart.c index 6b7352060..3d97ec5cc 100644 --- a/src/core/restart.c +++ b/src/core/restart.c @@ -79,9 +79,9 @@ restart_helper_read_line_callback (GObject *source_object, &length, &error); if (line == NULL) { - meta_warning ("Failed to read output from restart helper%s%s", - error ? ": " : NULL, - error ? error->message : NULL); + g_warning ("Failed to read output from restart helper%s%s", + error ? ": " : NULL, + error ? error->message : NULL); } else g_free (line); /* We don't actually care what the restart helper outputs */ @@ -177,7 +177,7 @@ meta_restart (const char *message, NULL, /* standard_error */ &error)) { - meta_warning ("Failed to start restart helper: %s", error->message); + g_warning ("Failed to start restart helper: %s", error->message); goto error; }