[epiphany/wip/modern_gobject: 18/31] EphyEmbedDialog: Use G_OBJECT_WARN_INVALID_PROPERTY_ID
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/modern_gobject: 18/31] EphyEmbedDialog: Use G_OBJECT_WARN_INVALID_PROPERTY_ID
- Date: Wed, 16 Sep 2015 02:17:07 +0000 (UTC)
commit c41d81e814abfbe55ab19dada565874b7a0b8dfe
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]