"CommitText",
IBUS_TYPE_TEXT, &text,
G_TYPE_INVALID);
+
+ if (g_object_is_floating (text)) {
+ g_object_unref (text);
+ }
}
void
G_TYPE_UINT, &cursor_pos,
G_TYPE_BOOLEAN, &visible,
G_TYPE_INVALID);
+
+ if (g_object_is_floating (text)) {
+ g_object_unref (text);
+ }
}
void
IBUS_TYPE_TEXT, &text,
G_TYPE_BOOLEAN, &visible,
G_TYPE_INVALID);
+
+ if (g_object_is_floating (text)) {
+ g_object_unref (text);
+ }
}
void
IBUS_TYPE_LOOKUP_TABLE, &table,
G_TYPE_BOOLEAN, &visible,
G_TYPE_INVALID);
+
+ if (g_object_is_floating (table)) {
+ g_object_unref (table);
+ }
}
void
ibus_engine_update_lookup_table (engine, new_table, visible);
- g_object_unref (new_table);
+ if (g_object_is_floating (table)) {
+ g_object_unref (table);
+ }
}
void ibus_engine_show_lookup_table (IBusEngine *engine)
"RegisterProperties",
IBUS_TYPE_PROP_LIST, &prop_list,
G_TYPE_INVALID);
+
+ if (g_object_is_floating (prop_list)) {
+ g_object_unref (prop_list);
+ }
}
void
"UpdateProperty",
IBUS_TYPE_PROPERTY, &prop,
G_TYPE_INVALID);
+
+ if (g_object_is_floating (prop)) {
+ g_object_unref (prop);
+ }
}
const gchar *