[grilo/wip/hadess/update-docs: 1/6] core: Stop using compatibility type macros internally
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo/wip/hadess/update-docs: 1/6] core: Stop using compatibility type macros internally
- Date: Wed, 6 Feb 2019 14:01:18 +0000 (UTC)
commit 264cd0cdad688982977ec0bfcb51aa1cd88409ed
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 6 14:33:50 2019 +0100
core: Stop using compatibility type macros internally
The compatibility macros were added in commit ca606fb1.
src/grl-caps.c | 2 +-
src/grl-operation-options.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/grl-caps.c b/src/grl-caps.c
index 3902aa6..4e9368f 100644
--- a/src/grl-caps.c
+++ b/src/grl-caps.c
@@ -115,7 +115,7 @@ grl_caps_class_init (GrlCapsClass *self_class)
GrlCaps *
grl_caps_new (void)
{
- return g_object_new (GRL_CAPS_TYPE, NULL);
+ return g_object_new (GRL_TYPE_CAPS, NULL);
}
/**
diff --git a/src/grl-operation-options.c b/src/grl-operation-options.c
index 74c823f..ec50d65 100644
--- a/src/grl-operation-options.c
+++ b/src/grl-operation-options.c
@@ -161,7 +161,7 @@ key_range_filter_dup (GrlKeyID key, GrlRangeValue *value, GHashTable *destinatio
GrlOperationOptions *
grl_operation_options_new (GrlCaps *caps)
{
- GrlOperationOptions *options = g_object_new (GRL_OPERATION_OPTIONS_TYPE, NULL);
+ GrlOperationOptions *options = g_object_new (GRL_TYPE_OPERATION_OPTIONS, NULL);
if (caps != NULL)
options->priv->caps = g_object_ref (caps);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]