IBusText *
ibus_text_new_from_string (const gchar *str)
{
- g_return_val_if_fail (str != NULL, NULL);
+ g_assert (str);
IBusText *text;
IBusText *
ibus_text_new_from_ucs4 (const gunichar *str)
{
- g_return_val_if_fail (str != NULL, NULL);
+ g_assert (str);
IBusText *text;
gchar *buf;
IBusText *
ibus_text_new_from_static_string (const gchar *str)
{
- g_return_val_if_fail (str != NULL, NULL);
+ g_assert (str);
IBusText *text;
ibus_text_new_from_printf (const gchar *format,
...)
{
- g_return_val_if_fail (format != NULL, NULL);
+ g_assert (format);
gchar *str;
IBusText *text;