[libgda] Holder: fixed get_property for "plugin"



commit 5a709868135c7603686688d7474824d19053eae2
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Tue Feb 12 11:05:27 2019 -0600

    Holder: fixed get_property for "plugin"

 libgda/gda-holder.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/libgda/gda-holder.c b/libgda/gda-holder.c
index 0f7e6531c..528cd25fa 100644
--- a/libgda/gda-holder.c
+++ b/libgda/gda-holder.c
@@ -693,6 +693,12 @@ gda_holder_get_property (GObject *object,
                        else
                                g_value_set_string (value, NULL);
                        break;
+               case PROP_PLUGIN:
+                       if (priv->plugin != NULL)
+                               g_value_set_string (value, priv->desc);
+                       else
+                               g_value_set_string (value, NULL);
+                       break;
                case PROP_GDA_TYPE:
                        g_value_set_gtype (value, priv->g_type);
                        break;


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