[epiphany] EphyEmbedDialog: Use G_OBJECT_WARN_INVALID_PROPERTY_ID



commit 2ebe44b278d18e7614018f2815f297e4fa7043d2
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Sep 15 20:02:16 2015 -0500

    EphyEmbedDialog: Use G_OBJECT_WARN_INVALID_PROPERTY_ID

 embed/ephy-embed-dialog.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed-dialog.c b/embed/ephy-embed-dialog.c
index 3347a24..f715f0c 100644
--- a/embed/ephy-embed-dialog.c
+++ b/embed/ephy-embed-dialog.c
@@ -74,6 +74,9 @@ ephy_embed_dialog_set_property (GObject *object,
                 case PROP_EPHY_EMBED:
                         ephy_embed_dialog_set_embed (d, g_value_get_object (value));
                         break;
+               default:
+                       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+                       break;
         }
 }
 
@@ -91,6 +94,9 @@ ephy_embed_dialog_get_property (GObject *object,
                 case PROP_EPHY_EMBED:
                         g_value_set_object (value, priv->embed);
                         break;
+               default:
+                       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+                       break;
         }
 }
 


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