summaryrefslogtreecommitdiff
path: root/components/services/install/lib/eazel-package-system-types.h
diff options
context:
space:
mode:
authorEskil Heyn Olsen <eskil@src.gnome.org>2001-02-03 05:48:10 +0000
committerEskil Heyn Olsen <eskil@src.gnome.org>2001-02-03 05:48:10 +0000
commit97caed032eca3dbc8eb5ce0133715de986f54722 (patch)
treea798e9841effa25f82e94f67326fb681add8bfd3 /components/services/install/lib/eazel-package-system-types.h
parent7d67d53e02b13e3b1043873e10a4f43c786a6f10 (diff)
downloadnautilus-97caed032eca3dbc8eb5ce0133715de986f54722.tar.gz
Added check for PackageBreaks iterators.
* components/services/install/command-line/eazel-alt-install-corba. c: (tree_helper_helper), (tree_helper): Added check for PackageBreaks iterators. * components/services/install/lib/eazel-install-corba-callback.c: (impl_install_failed): Leakfix, freeing the list given to the signal handler after handling. * components/services/install/lib/eazel-install-corba-types.c: (empty_hash_table), (packagedata_tree_from_corba_packagedatastructlist): Leakfix, now correctly frees the contents of the md5_hashtable and unrefs the proper objects. * components/services/install/lib/eazel-install-logic2.c: (eazel_install_check_existing_packages), (get_softcat_info), (is_satisfied), (is_satisfied_features), (check_dependencies_foreach), (check_tree_helper), (add_file_conflict), (check_conflicts_against_already_installed_packages), (check_feature_consistency): Proper fillflags for some EazelPackageSystem calls. Nicer log-output when debug is off. Leak fix, the PackageBreaks "objects". * components/services/install/lib/eazel-install-problem.c: (get_detailed_messages_breaks_foreach), (get_detailed_messages_foreach), (get_detailed_cases_breaks_foreach), (get_detailed_cases_foreach): Updated for the new PackageBreaks "objects". * components/services/install/lib/eazel-package-system-rpm4.c: (eazel_package_system_rpm4_query_impl): s/packagedata_destroy/gtk_object_unref/ * components/services/install/lib/eazel-package-system-types.c: (at_exit_package_data_info), (categorydata_new), (categorydata_destroy_foreach), (packagedata_finalize), (packagedata_class_initialize), (packagedata_initialize), (packagedata_get_readable_name), (packagebreaks_finalize), (packagebreaks_class_initialize), (packagebreaks_initialize), (packagefileconflict_finalize), (packagefileconflict_class_initialize), (packagefeaturemissing_finalize), (packagefeaturemissing_class_initialize): Finally got the destroy crap working for the PackageBreak "objects". More leakcheck stuff for various structures. Again, fixed get_reabable_name. * components/services/install/lib/eazel-package-system-types.h: Added finalizes to the "objects". Removed packagedata_destroy prototype. * components/services/trilobite/libtrilobite/Makefile.am: Cleanup and possible tinderbox fix.
Diffstat (limited to 'components/services/install/lib/eazel-package-system-types.h')
-rw-r--r--components/services/install/lib/eazel-package-system-types.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/services/install/lib/eazel-package-system-types.h b/components/services/install/lib/eazel-package-system-types.h
index ee879c80f..32c405802 100644
--- a/components/services/install/lib/eazel-package-system-types.h
+++ b/components/services/install/lib/eazel-package-system-types.h
@@ -169,6 +169,7 @@ typedef struct _PackageDataClass PackageDataClass;
struct _PackageDataClass {
GtkObjectClass parent_class;
+ void (*finalize) (GtkObject *obj);
};
struct _PackageData {
@@ -266,8 +267,6 @@ char *packagedata_get_readable_name (const PackageData *pack);
from a given package, real meanign name[-version-[release]] string */
char *packagedata_get_name (const PackageData *pack);
-void packagedata_destroy (PackageData *pd, gboolean deep);
-
int packagedata_hash_equal (PackageData *a, PackageData *b);
GList *flatten_packagedata_dependency_tree (GList *packages);
@@ -318,6 +317,7 @@ typedef struct _PackageBreaksClass PackageBreaksClass;
struct _PackageBreaksClass {
GtkObjectClass parent_class;
+ void (*finalize) (GtkObject *obj);
};
struct _PackageBreaks {
@@ -341,6 +341,7 @@ typedef struct _PackageFileConflictClass PackageFileConflictClass;
struct _PackageFileConflictClass {
PackageBreaksClass parent_class;
+ void (*finalize) (GtkObject *obj);
};
struct _PackageFileConflict {
@@ -362,6 +363,7 @@ typedef struct _PackageFeatureMissingClass PackageFeatureMissingClass;
struct _PackageFeatureMissingClass {
PackageBreaksClass parent_class;
+ void (*finalize) (GtkObject *obj);
};
struct _PackageFeatureMissing {