[gnumeric] Compilation: cleanup.



commit 958c0f9fef239391843a19888441be9cb897f055
Author: Morten Welinder <terra gnome org>
Date:   Wed May 14 21:39:24 2014 -0400

    Compilation: cleanup.

 src/widgets/ChangeLog             |    5 +++++
 src/widgets/gnumeric-expr-entry.c |    6 ++----
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index c346309..d8b68c8 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-14  Morten Welinder  <terra gnome org>
+
+       * gnumeric-expr-entry.c (gee_class_init): Simplify since we
+       already require gtk+ >= 2.20.
+
 2014-04-30  Morten Welinder <terra gnome org>
 
        * Release 1.12.15
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index ba53b0c..893f952 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -1692,10 +1692,8 @@ gee_class_init (GObjectClass *gobject_class)
                G_TYPE_NONE, 0);
 
 
-       /* FIXME: remove the test when we require gtk+ 2.20 or later */
-       if (g_object_interface_find_property (g_type_interface_peek (gobject_class, 
gtk_cell_editable_get_type ()), "editing-canceled"))
-               g_object_class_override_property
-                       (gobject_class, PROP_EDITING_CANCELED, "editing-canceled");
+       g_object_class_override_property
+               (gobject_class, PROP_EDITING_CANCELED, "editing-canceled");
 
        g_object_class_install_property
                (gobject_class, PROP_UPDATE_POLICY,


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