[gtk/fontconfig-speedup: 2/3] debug spew




commit f0b6af4f7ad52bd6c11d60e08f6d701555792142
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Aug 19 13:22:30 2020 -0400

    debug spew

 gtk/gtkfontbutton.c        | 2 ++
 gtk/gtkfontchooserwidget.c | 2 ++
 2 files changed, 4 insertions(+)
---
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index dc842eb737..fae33cd8d9 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -913,6 +913,8 @@ gtk_font_button_clicked (GtkButton *button,
   GtkFontChooser *font_dialog;
   GtkFontButton  *font_button = user_data;
   
+  g_print ("%ld clicked\n", g_get_monotonic_time ());
+
   if (!font_button->font_dialog) 
     {
       GtkWidget *parent;
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c
index 6463a66520..5d274d897b 100644
--- a/gtk/gtkfontchooserwidget.c
+++ b/gtk/gtkfontchooserwidget.c
@@ -585,6 +585,8 @@ gtk_font_chooser_widget_map (GtkWidget *widget)
   GTK_WIDGET_CLASS (gtk_font_chooser_widget_parent_class)->map (widget);
 
   update_key_capture (widget);
+
+  g_print ("%ld mapped\n", g_get_monotonic_time ());
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]