[nautilus-python] Woops, this method should not have been committed



commit ef01ced84db8ccb55fa9cbb254d8e88c54d4d4d0
Author: Adam Plumb <adamplumb gmail com>
Date:   Thu Apr 29 14:30:22 2010 -0400

    Woops, this method should not have been committed

 src/nautilus-python-object.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/nautilus-python-object.c b/src/nautilus-python-object.c
index b360b71..6de25bc 100644
--- a/src/nautilus-python-object.c
+++ b/src/nautilus-python-object.c
@@ -128,23 +128,6 @@ free_pygobject_data_list(GList *list)
 	g_list_foreach(list, (GFunc)free_pygobject_data, NULL);
 }
 
-static gboolean
-nautilus_python_provider_api_match(PyObject *instance, gchar *version)
-{
-	PyObject *provider_version;
-	gboolean result = FALSE;
-	
-	provider_version = PyObject_GetAttrString(instance, "NAUTILUS_PYTHON_PROVIDER_API");
-	if(provider_version != NULL && g_strcmp0(PyString_AsString(provider_version), version) == 0)
-	{
-		return TRUE;
-	}
-	else
-	{
-		return FALSE;
-	}
-}
-
 #define METHOD_NAME "get_property_pages"
 static GList *
 nautilus_python_object_get_property_pages (NautilusPropertyPageProvider *provider,



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