This commit is contained in:
smanojna
2006-03-09 04:45:36 +00:00
parent 92782922b9
commit 4b927ead3e
5 changed files with 24 additions and 14 deletions

View File

@@ -260,7 +260,7 @@ public class HostElement
methodStatusCode = FPM_GetSignonData(profileName,out hostListIntPtr,LOAD_PROFILE_ALWAYSFROM_FILE);
if( 1 != methodStatusCode )
{
Console.WriteLine("FireFox:Getting Data for profile Failed with error "+methodStatusCode);
//Console.WriteLine("FireFox:Getting Data for profile Failed with error "+methodStatusCode);
hostList=null;
return hostList;
}

View File

@@ -17,8 +17,10 @@ void PrintMessage( int level, char *mesg , ...)
#ifdef DEBUG
printf("%s", lastErrorMesg );
#else
if( level != MESG_DEBUG )
printf("%s", lastErrorMesg );
if( level != MESG_DEBUG )
{
//printf("%s", lastErrorMesg );
}
#endif
}

View File

@@ -578,7 +578,7 @@ OperationCompletedCb (GnomeKeyringResult result,
gpointer data)
{
OperationCompleted *cbData = (OperationCompleted *)data;
g_print ("ad_gk.c : Operation %s Completed %d\n", cbData->OperationName, result);
//g_print ("ad_gk.c : Operation %s Completed %d\n", cbData->OperationName, result);
cbData->result = result;
g_main_loop_quit (loop);
}
@@ -589,10 +589,10 @@ CreateItemCb (GnomeKeyringResult result,
gpointer data)
{
OperationCompleted *cbData = (OperationCompleted *)data;
g_print ("ad_gk.c : CreateItemCb : created item: res: %d id: %d\n", result, id);
//g_print ("ad_gk.c : CreateItemCb : created item: res: %d id: %d\n", result, id);
if (result != GNOME_KEYRING_RESULT_OK)
{
g_print ("ad_gk.c : CreateItemCb : Unable to create item : %d\n", result);
//g_print ("ad_gk.c : CreateItemCb : Unable to create item : %d\n", result);
}
cbData->result = result;
g_main_loop_quit (loop);
@@ -679,7 +679,7 @@ void ListKeyringsCb (GnomeKeyringResult result,
if (result != GNOME_KEYRING_RESULT_OK)
{
g_print ("Unable to get keyring list - %d\n", result);
//g_print ("Unable to get keyring list - %d\n", result);
}
else
{
@@ -700,7 +700,7 @@ void KeyringGetInfoCb(GnomeKeyringResult result,
KeyringInfo *retInfo = cbData->info;
if (result != GNOME_KEYRING_RESULT_OK)
{
g_print ("Unable to get keyring info %d\n", result);
//g_print ("Unable to get keyring info %d\n", result);
}
else
{
@@ -724,7 +724,7 @@ void ListItemCb( GnomeKeyringResult result,
if (result != GNOME_KEYRING_RESULT_OK)
{
g_print ("Unable to get list of items : %d\n", result);
//g_print ("Unable to get list of items : %d\n", result);
}
else
{
@@ -742,7 +742,7 @@ void ItemGetInfoCb( GnomeKeyringResult result,
ItemInfo *itemInfo = cbData->info;
if (result != GNOME_KEYRING_RESULT_OK)
{
g_print ("Unable to get Item info: %d\n", result);
//g_print ("Unable to get Item info: %d\n", result);
}
else
{
@@ -772,7 +772,7 @@ void ItemGetAttributesCb(GnomeKeyringResult result,
if( result != GNOME_KEYRING_RESULT_OK )
{
g_print("Unable to get the attributes of item\n");
//g_print("Unable to get the attributes of item\n");
}
else
{