[gnome-builder] animation: fix logic bomb



commit 491fac45d1fcef2fafd29e315a8ae21917b89c38
Author: Christian Hergert <christian hergert me>
Date:   Tue Jun 16 04:42:54 2015 -0700

    animation: fix logic bomb
    
    invert our comparison check.

 libide/theatrics/ide-animation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/theatrics/ide-animation.c b/libide/theatrics/ide-animation.c
index efd8bc5..f47e84c 100644
--- a/libide/theatrics/ide-animation.c
+++ b/libide/theatrics/ide-animation.c
@@ -1004,7 +1004,7 @@ ide_object_animatev (gpointer          object,
   g_return_val_if_fail (first_property != NULL, NULL);
   g_return_val_if_fail (mode < IDE_ANIMATION_LAST, NULL);
 
-  if ((frame_clock != NULL) && GTK_IS_WIDGET (object))
+  if ((frame_clock == NULL) && GTK_IS_WIDGET (object))
     frame_clock = gtk_widget_get_frame_clock (GTK_WIDGET (object));
 
   /*


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