[Xfce4-commits] [panel-plugins/xfce4-cpugraph-plugin] 04/16: Fix graph drawing event

noreply at xfce.org noreply at xfce.org
Wed May 29 04:10:05 CEST 2019


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

a   n   d   r   e       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 panel-plugins/xfce4-cpugraph-plugin.

commit 5863e9f98556a6f240963ba2ac9882dc4eb9013f
Author: Olivier Duclos <oduclos at sierrawireless.com>
Date:   Thu Jun 28 18:25:03 2018 +0200

    Fix graph drawing event
---
 panel-plugin/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/cpu.c b/panel-plugin/cpu.c
index 490beb2..a5dea88 100644
--- a/panel-plugin/cpu.c
+++ b/panel-plugin/cpu.c
@@ -101,7 +101,7 @@ static CPUGraph * create_gui( XfcePanelPlugin * plugin )
 
 	base->draw_area = gtk_drawing_area_new();
 	gtk_container_add( GTK_CONTAINER( frame ), GTK_WIDGET( base->draw_area ) );
-	g_signal_connect_after( base->draw_area, "expose-event", G_CALLBACK( draw_area_cb ), base );
+	g_signal_connect_after( base->draw_area, "draw", G_CALLBACK( draw_area_cb ), base );
 
 	base->has_bars = FALSE;
 	base->has_barcolor = FALSE;

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


More information about the Xfce4-commits mailing list