[gedit/wip/adjustment-checks] adjustment: getting traces
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/adjustment-checks] adjustment: getting traces
- Date: Mon, 25 Jul 2022 02:00:48 +0000 (UTC)
commit 6824a502bfb4d8497953e261f6eff466e598f1b6
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date: Mon Jul 25 03:57:02 2022 +0200
adjustment: getting traces
Will be useful to get traces:
- Loading a file with text cut off.
- Loading the same file with animations disabled (text *not* cut off).
- Do the same with a file for which the text is never cut off.
gedit/gedit-utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 0561b18ac..d76e14ed1 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -558,7 +558,8 @@ gedit_utils_check_adjustment_invariants (GtkAdjustment *adjustment)
page_increment = gtk_adjustment_get_page_increment (adjustment);
step_increment = gtk_adjustment_get_step_increment (adjustment);
- g_print ("value=%f\n", value);
+ g_print ("value=%f lower=%f upper=%f page_sz=%f page_inc=%f step_inc=%f\n",
+ value, lower, upper, page_size, page_increment, step_increment);
if (lower > upper)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]