[evince/wip/bug654832: 10/18] [libdocument] Remove unused struct member



commit efed43980ca019bdaa6a18eb300ef8671738ee60
Author: Christian Persch <chpe gnome org>
Date:   Sat Feb 13 23:13:26 2010 +0100

    [libdocument] Remove unused struct member
    
    EvBackendInfo.type_id was unused; remove it.

 libdocument/ev-backend-info.c |    2 --
 libdocument/ev-backend-info.h |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libdocument/ev-backend-info.c b/libdocument/ev-backend-info.c
index 3bc14e1..f795cec 100644
--- a/libdocument/ev-backend-info.c
+++ b/libdocument/ev-backend-info.c
@@ -85,8 +85,6 @@ _ev_backend_info_new_from_file (const char *file,
 
 	g_key_file_free (backend_file);
 
-        info->type_id = G_TYPE_INVALID;
-
 	return info;
 
     err:
diff --git a/libdocument/ev-backend-info.h b/libdocument/ev-backend-info.h
index e5200f3..14c0895 100644
--- a/libdocument/ev-backend-info.h
+++ b/libdocument/ev-backend-info.h
@@ -40,8 +40,6 @@ struct _EvBackendInfo {
 	gchar       *module_name;
 	GTypeModule *module;
 	gboolean     resident;
-
-	GType        type_id;
 };
 
 void            _ev_backend_info_free           (EvBackendInfo *info);



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