[Xfce4-commits] [apps/xfce4-taskmanager] 13/15: expose-event was replaced by draw, assign the same callback for now (probably wrong)

noreply at xfce.org noreply at xfce.org
Mon Dec 8 23:02:12 CET 2014


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

landry pushed a commit to branch landry/gtk3
in repository apps/xfce4-taskmanager.

commit 78330dbc19ff0ebfb3512b7cce804f576adff72b
Author: Landry Breuil <landry at xfce.org>
Date:   Mon Dec 8 22:55:43 2014 +0100

    expose-event was replaced by draw, assign the same callback for now (probably wrong)
---
 src/process-monitor.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/process-monitor.c b/src/process-monitor.c
index 904c758..921992b 100644
--- a/src/process-monitor.c
+++ b/src/process-monitor.c
@@ -59,7 +59,11 @@ xtm_process_monitor_class_init (XtmProcessMonitorClass *klass)
 	xtm_process_monitor_parent_class = g_type_class_peek_parent (klass);
 	class->get_property = xtm_process_monitor_get_property;
 	class->set_property = xtm_process_monitor_set_property;
+#if HAVE_GTK3
+	widget_class->draw = xtm_process_monitor_expose;
+#else
 	widget_class->expose_event = xtm_process_monitor_expose;
+#endif
 	g_object_class_install_property (class, PROP_STEP_SIZE,
 		g_param_spec_float ("step-size", "StepSize", "Step size", 0.1, G_MAXFLOAT, 1, G_PARAM_CONSTRUCT|G_PARAM_READWRITE));
 	g_object_class_install_property (class, PROP_COLOR_RED,

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


More information about the Xfce4-commits mailing list