[beast: 8/12] BSE: remove unused bse-item-get-icon procedure



commit d41a236556855b3113354fe8565b14c7ced3ae25
Author: Tim Janik <timj gnu org>
Date:   Sat Sep 19 01:28:00 2015 +0200

    BSE: remove unused bse-item-get-icon procedure

 bse/bseitem.proc |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/bse/bseitem.proc b/bse/bseitem.proc
index ed60acd..6dcc863 100644
--- a/bse/bseitem.proc
+++ b/bse/bseitem.proc
@@ -468,29 +468,6 @@ METHOD (BseItem, editable-property) {
   return Bse::ERROR_NONE;
 }
 
-METHOD (BseItem, get-icon) {
-  HELP = "Get the current icon of an item.";
-  IN   = bse_param_spec_object ("item", NULL, NULL,
-                                BSE_TYPE_ITEM, SFI_PARAM_STANDARD);
-  OUT  = bse_param_spec_boxed ("icon", NULL, NULL,
-                               BSE_TYPE_IC0N, SFI_PARAM_STANDARD);
-} BODY (BseProcedureClass *proc,
-       const GValue      *in_values,
-       GValue            *out_values)
-{
-  /* extract parameter values */
-  BseItem *self = (BseItem*) bse_value_get_object (in_values++);
-
-  /* check parameters */
-  if (!BSE_IS_ITEM (self))
-    return Bse::ERROR_PROC_PARAM_INVAL;
-
-  /* set output parameters */
-  bse_value_set_boxed (out_values++, bse_object_get_icon (BSE_OBJECT (self)));
-
-  return Bse::ERROR_NONE;
-}
-
 METHOD (BseItem, group-undo) {
   HELP = "Request multiple modifying actions on an item to be grouped together as single undo operation.";
   IN   = bse_param_spec_object ("item", NULL, NULL,


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