[gthumb] gth-test-simple: copy the int_max value when duplicating a test



commit ccd893a316e8b8d0360c6f13459043b15fc6a8f2
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Apr 4 11:25:47 2013 +0200

    gth-test-simple: copy the int_max value when duplicating a test

 gthumb/gth-test-simple.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-test-simple.c b/gthumb/gth-test-simple.c
index 6ff9edb..1e83b76 100644
--- a/gthumb/gth-test-simple.c
+++ b/gthumb/gth-test-simple.c
@@ -1031,6 +1031,7 @@ gth_test_simple_real_duplicate (GthDuplicable *duplicable)
        new_test->priv->get_data = test->priv->get_data;
        new_test->priv->op = test->priv->op;
        new_test->priv->negative = test->priv->negative;
+       new_test->priv->int_max = test->priv->int_max;
 
        return (GObject *) new_test;
 }


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