static void on_destroy (ui_gadget_h ug, service_h s, void *priv)
{
    if ( ug == NULL|| priv == NULL)
        return;

    if (imf_context != NULL) {
        ecore_imf_context_del(imf_context);
        imf_context = NULL;
    }

    struct ug_data *ugd = (struct ug_data *) priv;

    if (ugd->naviframe != NULL) {
        evas_object_del (ugd->naviframe);
        ugd->naviframe = NULL;
    }

    if (ugd->layout_main != NULL) {
        evas_object_del (ugd->layout_main);
        ugd->layout_main = NULL;
    }

    if (!_config.null ()) {
        _config->flush ();
        _config.reset ();
    }
}
Beispiel #2
0
 void scim_module_exit (void)
 {
     if (_scim_config)
         _scim_config.reset ();
     if (scim_skkdict) {
         scim_skkdict->dump_userdict();
         delete scim_skkdict;
     }
 }
Beispiel #3
0
retval_t ScimBridgeAgentImpl::finalize_scim ()
{
    scim_bridge_pdebugln (6, "Finalizing scim...");
    
    scim_backend.reset ();
    scim_config.reset ();

    if (scim_config_module != NULL) {
        delete scim_config_module;
        scim_config_module = NULL;
    }

    return RETVAL_SUCCEEDED;
}
Beispiel #4
0
 void scim_module_exit (void)
 {
     _scim_test_factory.reset ();
     _scim_config.reset ();
 }
Beispiel #5
0
 void scim_module_exit (void)
 {
     _scim_pinyin_factory.reset ();
     _scim_config.reset ();
 }
 void scim_module_exit (void)
 {
     _scim_config.reset ();
 }
 void scim_module_exit (void)
 {
     __array_factory.reset ();
     _scim_config.reset ();
 }