[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 03/10: removed some outcommented leftovers from the past development tries
noreply at xfce.org
noreply at xfce.org
Sat Mar 18 18:26:43 CET 2017
This is an automated email from the git hooks/post-receive script.
timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.
commit 437861cc3ecd300ae99ed3a1b43ef3f54425effb
Author: Fabian <timystery at arcor.de>
Date: Sat Mar 18 01:23:32 2017 +0100
removed some outcommented leftovers from the past development tries
---
lib/tacho.c | 34 ----------------------------------
1 file changed, 34 deletions(-)
diff --git a/lib/tacho.c b/lib/tacho.c
index f21bddc..19783c8 100644
--- a/lib/tacho.c
+++ b/lib/tacho.c
@@ -403,15 +403,6 @@ gtk_sensorstacho_paint (GtkWidget *widget,
void
gtk_sensorstacho_set_value (GtkSensorsTacho *ptr_sensorstacho, gdouble value)
{
- //GdkWindow *ptr_gdkwindowsensorstacho = NULL;
- //cairo_t *ptr_context = NULL;
-
-//#if GTK_CHECK_VERSION(3,22,0)
- //cairo_region_t *region = NULL;
- //GdkDrawingContext *context = NULL;
- //cairo_rectangle_int_t rectangle;
-//#endif
-
TRACE("enter gtk_sensorstacho_set_value\n");
if (value < 0)
@@ -423,31 +414,6 @@ gtk_sensorstacho_set_value (GtkSensorsTacho *ptr_sensorstacho, gdouble value)
ptr_sensorstacho->sel = value;
- //gtk_widget_queue_draw (GTK_WIDGET(ptr_sensorstacho));
-
- //ptr_gdkwindowsensorstacho = gtk_widget_get_window(GTK_WIDGET(ptr_sensorstacho));
- //g_return_if_fail (ptr_gdkwindowsensorstacho != NULL);
-
-////#if GTK_CHECK_VERSION(3,22,0)
- //region = gdk_window_get_clip_region(ptr_gdkwindowsensorstacho);
- //cairo_region_get_rectangle(region, 0, &rectangle);
- //DBG("x=%d, Y=%d, w=%d, h=%d\n", rectangle.x, rectangle.y, rectangle.width, rectangle.height);
- //gdk_window_invalidate_region (ptr_gdkwindowsensorstacho, region, TRUE);
- //context = gdk_window_begin_draw_frame (ptr_gdkwindowsensorstacho, region);
- //ptr_context = gdk_drawing_context_get_cairo_context (context);
-////#else
- ////ptr_context = gdk_cairo_create (ptr_gdkwindowsensorstacho);
-////#endif
-
- //g_return_if_fail (ptr_context != NULL);
- //gtk_sensorstacho_paint(GTK_WIDGET(ptr_sensorstacho), ptr_context);
-
-////#if GTK_CHECK_VERSION(3,22,0)
- //gdk_window_end_draw_frame (ptr_gdkwindowsensorstacho, context);
- //cairo_region_destroy(region);
-////#else
-////#endif
-
TRACE("leave gtk_sensorstacho_set_value\n");
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list