[gnumeric] compilation: remove old gtk-version iddef.



commit 96d724b9d056567470a8e4155e2b213e08005bb8
Author: Morten Welinder <terra gnome org>
Date:   Wed Apr 13 14:26:25 2011 -0400

    compilation: remove old gtk-version iddef.

 plugins/python-loader/py-interpreter-selector.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plugins/python-loader/py-interpreter-selector.c b/plugins/python-loader/py-interpreter-selector.c
index 571e9b1..60f9dd0 100644
--- a/plugins/python-loader/py-interpreter-selector.c
+++ b/plugins/python-loader/py-interpreter-selector.c
@@ -227,12 +227,8 @@ gnm_py_interpreter_selector_new (GOErrorInfo **err)
 	GO_INIT_RET_ERROR_INFO (err);
 	sel->py_object = gnm_python_object_get (err);
 	if (sel->py_object == NULL) {
-#if GLIB_CHECK_VERSION(2,10,0) && GTK_CHECK_VERSION(2,8,14)
 		g_object_ref_sink (obj);
 #warning Does this need an unref ?  All other calls did not add the ref beforehand
-#else
-		gtk_object_sink (GTK_OBJECT (obj));
-#endif
 		return NULL;
 	}
 	g_signal_connect (



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