Skip to content

Commit

Permalink
refactor: remove leftover todo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Feb 6, 2024
1 parent cc774e7 commit 712697a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ibus-chewing-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ typedef IBusChewingEngineClass SelfClass;
G_DEFINE_TYPE_WITH_CODE(IBusChewingEngine, ibus_chewing_engine, IBUS_TYPE_ENGINE, G_ADD_PRIVATE(IBusChewingEngine));

/* here are local prototypes */
// static void ibus_chewing_engine_init (IBusChewingEngine * self) G_GNUC_UNUSED;
// static void ibus_chewing_engine_class_init (IBusChewingEngineClass * klass) G_GNUC_UNUSED;
static void ibus_chewing_engine_constructor (IBusChewingEngine * self) G_GNUC_UNUSED;
static IBusProperty * ibus_chewing_engine_get_ibus_property_by_name (IBusChewingEngine * self, const gchar * prop_name) G_GNUC_UNUSED;
static void ___b_ibus_chewing_engine_reset (IBusEngine * engine) G_GNUC_UNUSED;
Expand Down Expand Up @@ -200,7 +198,6 @@ static void
ibus_chewing_engine_init (IBusChewingEngine * self G_GNUC_UNUSED)
{
#define __GOB_FUNCTION__ "IBus:Chewing:Engine::init"
// ibus_chewing_engine_get_instance_private (self) = G_TYPE_INSTANCE_GET_PRIVATE(self,IBUS_TYPE_CHEWING_ENGINE,IBusChewingEnginePrivate);
self->icPreEdit = NULL;
self->sDialog = NULL;
self->preEditText = NULL;
Expand Down Expand Up @@ -305,7 +302,6 @@ ibus_chewing_engine_class_init (IBusChewingEngineClass * klass G_GNUC_UNUSED)
GObjectClass *g_object_class G_GNUC_UNUSED = (GObjectClass*) klass;
IBusEngineClass *ibus_engine_class = (IBusEngineClass *)klass;

// g_type_class_add_private(klass,sizeof(IBusChewingEnginePrivate));
klass->InputMode_label_chi =
g_object_ref_sink(ibus_text_new_from_static_string(_("Chinese Mode")))
;
Expand Down

0 comments on commit 712697a

Please sign in to comment.