[gcr/wip/nielsdg/use-g-deprecated: 1/2] Don't use functions which we deprecated
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr/wip/nielsdg/use-g-deprecated: 1/2] Don't use functions which we deprecated
- Date: Thu, 6 Feb 2020 06:54:47 +0000 (UTC)
commit 51d08678acfcbbb6bc0001d84d2847a77b02213a
Author: Niels De Graef <nielsdegraef gmail com>
Date: Wed Feb 5 07:45:34 2020 +0100
Don't use functions which we deprecated
gck/gck-uri.c | 2 +-
gck/gck.h | 2 +-
ui/frob-tree-selector.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gck/gck-uri.c b/gck/gck-uri.c
index b985114..8d75a1e 100644
--- a/gck/gck-uri.c
+++ b/gck/gck-uri.c
@@ -148,7 +148,7 @@ GQuark
gck_uri_get_error_quark (void)
{
/* This is deprecated version */
- return gck_uri_get_error_quark ();
+ return gck_uri_error_get_quark ();
}
GQuark
diff --git a/gck/gck.h b/gck/gck.h
index 605ee17..bb52c01 100644
--- a/gck/gck.h
+++ b/gck/gck.h
@@ -341,7 +341,7 @@ void gck_builder_clear (GckBuilder *builder
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GckBuilder, gck_builder_unref);
-#define GCK_TYPE_ATTRIBUTES (gck_attributes_get_boxed_type ())
+#define GCK_TYPE_ATTRIBUTES (gck_attributes_get_type ())
GType gck_attributes_get_type (void) G_GNUC_CONST;
diff --git a/ui/frob-tree-selector.c b/ui/frob-tree-selector.c
index 692592c..f2a7ef8 100644
--- a/ui/frob-tree-selector.c
+++ b/ui/frob-tree-selector.c
@@ -122,7 +122,7 @@ on_parser_parsed (GcrParser *parser, gpointer user_data)
testcol = test_collection_instance (group);
- if (!gcr_simple_collection_contains (collection, G_OBJECT (testcol)))
+ if (!gcr_collection_contains (GCR_COLLECTION (collection), G_OBJECT (testcol)))
gcr_simple_collection_add (collection, G_OBJECT (testcol));
gcr_simple_collection_add (GCR_SIMPLE_COLLECTION (testcol), G_OBJECT (renderer));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]