[Xfce4-commits] [apps/xfce4-taskmanager] 09/20: More float initializers (bug 14401)

noreply at xfce.org noreply at xfce.org
Wed May 30 22:00:23 CEST 2018


This is an automated email from the git hooks/post-receive script.

l   a   n   d   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-taskmanager.

commit 9ed5f79f8dbe95a531c1515af7c470c497663c10
Author: rim <rozhuk.im at gmail.com>
Date:   Wed May 30 21:47:24 2018 +0200

    More float initializers (bug 14401)
---
 src/process-window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/process-window.c b/src/process-window.c
index 3f455a5..a0b6ad6 100644
--- a/src/process-window.c
+++ b/src/process-window.c
@@ -270,14 +270,14 @@ xtm_process_window_init (XtmProcessWindow *window)
 
 		toolitem = GTK_WIDGET (gtk_builder_get_object (window->builder, "graph-cpu"));
 		window->cpu_monitor = xtm_process_monitor_new ();
-		xtm_process_monitor_set_step_size (XTM_PROCESS_MONITOR (window->cpu_monitor), refresh_rate / 1000.0);
+		xtm_process_monitor_set_step_size (XTM_PROCESS_MONITOR (window->cpu_monitor), refresh_rate / 1000.0f);
 		xtm_process_monitor_set_type (XTM_PROCESS_MONITOR (window->cpu_monitor), 0);
 		gtk_widget_show (window->cpu_monitor);
 		gtk_container_add (GTK_CONTAINER (toolitem), window->cpu_monitor);
 
 		toolitem = GTK_WIDGET (gtk_builder_get_object (window->builder, "graph-mem"));
 		window->mem_monitor = xtm_process_monitor_new ();
-		xtm_process_monitor_set_step_size (XTM_PROCESS_MONITOR (window->mem_monitor), refresh_rate / 1000.0);
+		xtm_process_monitor_set_step_size (XTM_PROCESS_MONITOR (window->mem_monitor), refresh_rate / 1000.0f);
 		xtm_process_monitor_set_type (XTM_PROCESS_MONITOR (window->mem_monitor), 1);
 		gtk_widget_show (window->mem_monitor);
 		gtk_container_add (GTK_CONTAINER (toolitem), window->mem_monitor);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list