[gtk/wip/otte/for-master: 4/5] sizerequest: Use g_printerr() for debug messages
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/for-master: 4/5] sizerequest: Use g_printerr() for debug messages
- Date: Fri, 19 Nov 2021 22:43:39 +0000 (UTC)
commit edb0bca882b49fdb896456a1a2f82f6c3fa8fba1
Author: Benjamin Otte <otte redhat com>
Date: Fri Nov 19 23:21:44 2021 +0100
sizerequest: Use g_printerr() for debug messages
glib doesn't print debug messages by default anymore.
gtk/gtksizerequest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtksizerequest.c b/gtk/gtksizerequest.c
index 199bce2575..a2a8af3f84 100644
--- a/gtk/gtksizerequest.c
+++ b/gtk/gtksizerequest.c
@@ -444,7 +444,7 @@ gtk_widget_query_size_for_orientation (GtkWidget *widget,
}
g_string_append_printf (s, " (hit cache: %s)\n",
found_in_cache ? "yes" : "no");
- g_message ("%s", s->str);
+ g_printerr ("%s", s->str);
g_string_free (s, TRUE);
});
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]