From 3a4fbc5e5086210358b44bf16dd7cd3abc07c542 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sat, 27 Jun 2020 11:08:09 +0200 Subject: [PATCH] recorder: Remove Full/Partial render distinction It doesn't exist anymore these days --- gtk/inspector/recorder.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gtk/inspector/recorder.c b/gtk/inspector/recorder.c index 1b50a387ed..24f5691ef2 100644 --- a/gtk/inspector/recorder.c +++ b/gtk/inspector/recorder.c @@ -1044,7 +1044,6 @@ gtk_inspector_recorder_recordings_list_create_widget (gpointer item, { GtkInspectorRecording *previous = NULL; char *time_str, *str; - const char *render_str; cairo_region_t *region; GtkWidget *hbox, *label, *button; guint i; @@ -1073,22 +1072,18 @@ gtk_inspector_recorder_recordings_list_create_widget (gpointer item, gtk_inspector_render_recording_get_area (GTK_INSPECTOR_RENDER_RECORDING (recording))); cairo_region_subtract (region, gtk_inspector_render_recording_get_clip_region (GTK_INSPECTOR_RENDER_RECORDING (recording))); - if (cairo_region_is_empty (region)) - render_str = "Full Render"; - else - render_str = "Partial Render"; cairo_region_destroy (region); if (previous) { time_str = format_timespan (gtk_inspector_recording_get_timestamp (recording) - gtk_inspector_recording_get_timestamp (previous)); - str = g_strdup_printf ("%s\n+%s", render_str, time_str); + str = g_strdup_printf ("Frame\n+%s", time_str); g_free (time_str); } else { - str = g_strdup_printf ("%s\n", render_str); + str = g_strdup ("Frame\n"); } label = gtk_label_new (str); gtk_label_set_use_markup (GTK_LABEL (label), TRUE);