[grilo] core: Remove deprecated functions



commit 16f535813039740aca17224d2e04d0e8b24e47cb
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Sep 22 17:35:32 2015 +0200

    core: Remove deprecated functions

 doc/grilo/grilo-sections.txt    |    2 --
 src/grl-operation-options.c     |   36 ------------------------------------
 src/grl-operation-options.h     |    7 -------
 tools/grilo-launch/grl-launch.c |    2 +-
 4 files changed, 1 insertions(+), 46 deletions(-)
---
diff --git a/doc/grilo/grilo-sections.txt b/doc/grilo/grilo-sections.txt
index 2badbdc..c767a41 100644
--- a/doc/grilo/grilo-sections.txt
+++ b/doc/grilo/grilo-sections.txt
@@ -157,7 +157,6 @@ GrlOperationOptionsClass
 grl_operation_options_new
 grl_operation_options_copy
 grl_operation_options_get_count
-grl_operation_options_get_flags
 grl_operation_options_get_resolution_flags
 grl_operation_options_get_key_filter
 grl_operation_options_get_key_filter_list
@@ -167,7 +166,6 @@ grl_operation_options_get_skip
 grl_operation_options_get_type_filter
 grl_operation_options_obey_caps
 grl_operation_options_set_count
-grl_operation_options_set_flags
 grl_operation_options_set_resolution_flags
 grl_operation_options_set_key_filter_dictionary
 grl_operation_options_set_key_filter_value
diff --git a/src/grl-operation-options.c b/src/grl-operation-options.c
index ea8f7bd..4e038fc 100644
--- a/src/grl-operation-options.c
+++ b/src/grl-operation-options.c
@@ -417,42 +417,6 @@ grl_operation_options_get_count (GrlOperationOptions *options)
 }
 
 /**
- * grl_operation_options_set_flags:
- * @options: a #GrlOperationOptions instance
- * @flags: the resolution flags to be set for an operation. See
- * #GrlResolutionFlags for possible values.
- *
- * Set the resolution flags for an operation. Will only succeed if @flags obey
- * to the inherent capabilities of @options.
- *
- * Returns: %TRUE if @flags could be set, %FALSE otherwise.
- *
- * Since: 0.2.0
- * Deprecated: 0.2.12: Use grl_operation_options_set_resolution_flags() instead.
- */
-gboolean
-grl_operation_options_set_flags (GrlOperationOptions *options,
-                                 GrlResolutionFlags flags)
-{
-  return grl_operation_options_set_resolution_flags (options, flags);
-}
-
-/**
- * grl_operation_options_get_flags:
- * @options: a #GrlOperationOptions instance
- *
- * Returns: resolution flags of @options.
- *
- * Since: 0.2.0
- * Deprecated: 0.2.12: Use grl_operation_options_get_resolution_flags() instead.
- */
-GrlResolutionFlags
-grl_operation_options_get_flags (GrlOperationOptions *options)
-{
-  return grl_operation_options_get_resolution_flags (options);
-}
-
-/**
  * grl_operation_options_set_resolution_flags:
  * @options: a #GrlOperationOptions instance
  * @flags: the resolution flags to be set for an operation. See
diff --git a/src/grl-operation-options.h b/src/grl-operation-options.h
index ef407fc..5e4ef60 100644
--- a/src/grl-operation-options.h
+++ b/src/grl-operation-options.h
@@ -113,13 +113,6 @@ guint grl_operation_options_get_skip (GrlOperationOptions *options);
 gboolean grl_operation_options_set_count (GrlOperationOptions *options, gint count);
 gint grl_operation_options_get_count (GrlOperationOptions *options);
 
-GLIB_DEPRECATED_FOR(grl_operation_options_set_resolution_flags)
-gboolean grl_operation_options_set_flags (GrlOperationOptions *options,
-                                      GrlResolutionFlags flags);
-GLIB_DEPRECATED_FOR(grl_operation_options_get_resolution_flags)
-GrlResolutionFlags
-    grl_operation_options_get_flags (GrlOperationOptions *options);
-
 gboolean grl_operation_options_set_resolution_flags (GrlOperationOptions *options,
                                                      GrlResolutionFlags flags);
 GrlResolutionFlags
diff --git a/tools/grilo-launch/grl-launch.c b/tools/grilo-launch/grl-launch.c
index ffdd5eb..7639759 100644
--- a/tools/grilo-launch/grl-launch.c
+++ b/tools/grilo-launch/grl-launch.c
@@ -771,7 +771,7 @@ run_media_from_uri (gchar **uri_params)
   }
 
   options = grl_operation_options_new (NULL);
-  grl_operation_options_set_flags (options, get_flags ());
+  grl_operation_options_set_resolution_flags (options, get_flags ());
 
   print_titles (print_keys);
 


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