aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-12-20 04:16:51 +0800
committerChristian Persch <chpe@src.gnome.org>2003-12-20 04:16:51 +0800
commit692d2b9353c7f1a813f6614512bcde4be6163842 (patch)
tree82046556a728b2113df61f9ac7e73223f55d11ba /src/ephy-encoding-dialog.c
parent4f96cabd5769fb8e49579ef4976a74fcc61ef999 (diff)
downloadgsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.tar
gsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.tar.gz
gsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.tar.bz2
gsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.tar.lz
gsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.tar.xz
gsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.tar.zst
gsoc2013-epiphany-692d2b9353c7f1a813f6614512bcde4be6163842.zip
Use return, not g_return_if_fail.
2003-12-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Use return, not g_return_if_fail.
Diffstat (limited to 'src/ephy-encoding-dialog.c')
-rw-r--r--src/ephy-encoding-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index c61db7b46..9ecadd9fd 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -128,7 +128,7 @@ sync_embed_cb (EphyEncodingDialog *dialog, GParamSpec *pspec, gpointer dummy)
if (info == NULL) return;
node = ephy_encodings_get_node (dialog->priv->encodings, info->encoding);
- g_return_if_fail (EPHY_IS_NODE (node));
+ if (!EPHY_IS_NODE (node)) return;
/* select the current encoding in the list view */
ephy_node_view_select_node (EPHY_NODE_VIEW (dialog->priv->enc_view),