diff options
author | Bastien Nocera <hadess@hadess.net> | 2019-02-06 14:33:50 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2019-02-06 14:35:41 +0100 |
commit | 264cd0cdad688982977ec0bfcb51aa1cd88409ed (patch) | |
tree | 4b7c85e40c54b36d62e4010db0434131b31a9398 | |
parent | aa89906abf5453a8b6efc759453f2b1e7e8ff80e (diff) | |
download | grilo-264cd0cdad688982977ec0bfcb51aa1cd88409ed.tar.gz |
core: Stop using compatibility type macros internally
The compatibility macros were added in commit ca606fb1.
-rw-r--r-- | src/grl-caps.c | 2 | ||||
-rw-r--r-- | 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); |