[dia] [warningectomy] use GTK_WIDGET() cast



commit 2405a10f9ee0df3d82c068c3ef522f1762b636f1
Author: Hans Breuer <hans breuer org>
Date:   Wed Aug 4 16:52:26 2010 +0200

    [warningectomy] use GTK_WIDGET() cast

 app/diacanvas.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/diacanvas.c b/app/diacanvas.c
index e6c8f34..e5be940 100644
--- a/app/diacanvas.c
+++ b/app/diacanvas.c
@@ -264,7 +264,7 @@ dia_canvas_move_internal (DiaCanvas       *canvas,
   gtk_widget_thaw_child_notify (widget);
   
 #if GTK_CHECK_VERSION(2,20,0)
-  if (gtk_widget_get_visible (widget) && gtk_widget_get_visible (canvas))
+  if (gtk_widget_get_visible (widget) && gtk_widget_get_visible (GTK_WIDGET (canvas)))
 #else
   if (GTK_WIDGET_VISIBLE (widget) && GTK_WIDGET_VISIBLE (canvas))
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]