[Xfce4-commits] <thunarx-python:master> We don't need the file info iface
Adam Plumb
noreply at xfce.org
Thu May 27 18:10:34 CEST 2010
Updating branch refs/heads/master
to 4f1fcb52204d486219ee5b5fdc3c064228f20ffc (commit)
from f213bcb80696d0965d505bc7dbcc42791bfae425 (commit)
commit 4f1fcb52204d486219ee5b5fdc3c064228f20ffc
Author: Adam Plumb <adamplumb at gmail.com>
Date: Wed Dec 16 10:24:08 2009 -0500
We don't need the file info iface
src/thunarx-python-object.c | 27 +++------------------------
1 files changed, 3 insertions(+), 24 deletions(-)
diff --git a/src/thunarx-python-object.c b/src/thunarx-python-object.c
index 96694c5..e18842e 100644
--- a/src/thunarx-python-object.c
+++ b/src/thunarx-python-object.c
@@ -59,7 +59,6 @@ static void thunarx_python_object_property_page_provider_iface_init (Thunar
static GList *thunarx_python_object_get_property_pages (ThunarxPropertyPageProvider *provider,
GList *files);
-
/* These macros assumes the following things:
* a METHOD_NAME is defined with is a string
* a goto label called beach
@@ -259,24 +258,16 @@ beach:
-
static void
thunarx_python_object_property_page_provider_iface_init (ThunarxPropertyPageProviderIface *iface)
{
iface->get_pages = thunarx_python_object_get_property_pages;
}
-/*
-
-static void
-thunarx_python_object_file_info_iface_init (ThunarxFileInfoIface *iface)
-{
- iface->file_changed = thunarx_python_object_file_changed;
- iface->file_renamed = thunarx_python_object_file_renamed;
-}
+/*
static void
thunarx_python_object_renamer_provider_iface_init (ThunarxRenamerProviderIface *iface)
{
@@ -335,13 +326,7 @@ thunarx_python_object_get_type (ThunarxProviderPlugin *plugin, PyObject *type)
GTypeInfo *info;
const char *type_name;
GType gtype;
-/*
- static const GInterfaceInfo file_info_iface_info = {
- (GInterfaceInitFunc) thunarx_python_object_file_info_iface_init,
- NULL,
- NULL
- };
-*/
+
static const GInterfaceInfo property_page_provider_iface_info = {
(GInterfaceInitFunc) thunarx_python_object_property_page_provider_iface_init,
NULL,
@@ -384,13 +369,7 @@ thunarx_python_object_get_type (ThunarxProviderPlugin *plugin, PyObject *type)
G_TYPE_OBJECT,
type_name,
info, 0);
-/*
- if (PyObject_IsSubclass(type, (PyObject*)&PyThunarxFileInfo_Type)) {
- thunarx_provider_plugin_add_interface (plugin, gtype,
- THUNARX_TYPE_FILE_INFO,
- &file_info_iface_info);
- }
-*/
+
if (PyObject_IsSubclass(type, (PyObject*)&PyThunarxPropertyPageProvider_Type)) {
thunarx_provider_plugin_add_interface (plugin, gtype,
THUNARX_TYPE_PROPERTY_PAGE_PROVIDER,
More information about the Xfce4-commits
mailing list