Skip to content

Commit

Permalink
Use g_assert to check if connection is alive
Browse files Browse the repository at this point in the history
  • Loading branch information
phuang committed Jun 3, 2010
1 parent 9d9b4e2 commit 0ac0c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ibusconnection.c
Expand Up @@ -738,7 +738,7 @@ ibus_connection_call_with_reply_valist (IBusConnection *connection,
g_assert (path != NULL);
g_assert (interface != NULL);
g_assert (member != NULL);
g_return_val_if_fail (ibus_connection_is_connected (connection), FALSE);
g_assert (ibus_connection_is_connected (connection));

IBusConnectionPrivate *priv;
priv = IBUS_CONNECTION_GET_PRIVATE (connection);
Expand Down

0 comments on commit 0ac0c0a

Please sign in to comment.