[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/utility notes.c,1.7,1.8 rainbow.c,1.
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/utility notes.c,1.7,1.8 rainbow.c,1.9,1.10 |
Date: |
Fri, 21 Mar 2003 06:19:09 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/utility
In directory subversions:/tmp/cvs-serv21842/modules/utility
Modified Files:
notes.c rainbow.c
Log Message:
remove some warnings, disable icq by default
Index: notes.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/utility/notes.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- notes.c 29 Jan 2003 19:19:22 -0000 1.7
+++ notes.c 21 Mar 2003 11:19:07 -0000 1.8
@@ -25,6 +25,7 @@
#include "intl.h"
#include <stdlib.h>
+#include <stdio.h>
#include <sys/stat.h>
#include <string.h>
#include <unistd.h>
@@ -99,7 +100,7 @@
eb_debug(DBG_MOD, "Error! Unable to add Notes menu to contact
menu\n");
return(-1);
}
- g_snprintf(notes_dir, NAME_MAX, "%s/notes", eb_config_dir());
+ snprintf(notes_dir, NAME_MAX, "%s/notes", eb_config_dir());
mkdir(notes_dir, 0700);
eb_debug(DBG_MOD, "Notes Dir: %s\n", notes_dir);
plugin_info.prefs = il;
@@ -116,12 +117,12 @@
result=eb_remove_menu_item(EB_CHAT_WINDOW_MENU, notes_tag1);
if(result) {
- g_warning("Unable to remove Notes menu item from chat window
menu!");
+ eb_debug(DBG_MOD, "Unable to remove Notes menu item from chat
window menu!\n");
return(-1);
}
result=eb_remove_menu_item(EB_CONTACT_MENU, notes_tag2);
if(result) {
- g_warning("Unable to remove Notes menu item from chat window
menu!");
+ eb_debug(DBG_MOD, "Unable to remove Notes menu item from chat
window menu!\n");
return(-1);
}
return(0);
@@ -149,8 +150,8 @@
return;
}
eb_debug(DBG_MOD, "contact: %s remote_account: %s\n", ecd->contact,
ecd->remote_account);
- g_snprintf(buff, 255, "Notes on %s", ecd->contact);
- g_snprintf(cmd_buff, 1023, "%s/%s", notes_dir, ecd->contact);
+ snprintf(buff, 255, "Notes on %s", ecd->contact);
+ snprintf(cmd_buff, 1023, "%s/%s", notes_dir, ecd->contact);
#ifndef __MINGW32__
pid = fork();
Index: rainbow.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/utility/rainbow.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- rainbow.c 7 Feb 2003 08:25:33 -0000 1.9
+++ rainbow.c 21 Mar 2003 11:19:07 -0000 1.10
@@ -33,6 +33,7 @@
#include "externs.h"
#include "plugin_api.h"
#include "prefs.h"
+#include "debug.h"
/*******************************************************************************
@@ -222,7 +223,7 @@
}
wptr +=
- g_snprintf(wptr, 22 * (len - pos),
+ snprintf(wptr, 22 * (len - pos),
"<font color=#%02x%02x%02x>%c",
(pos * end_r + (len - pos) * start_r) / len,
(pos * end_g + (len - pos) * start_g) / len,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/utility notes.c,1.7,1.8 rainbow.c,1.9,1.10,
Philip S Tellis <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.359,1.360 configure.in,1.354,1.355
- Next by Date:
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.47,1.48
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.359,1.360 configure.in,1.354,1.355
- Next by thread:
[Ayttm-commits] CVS: ayttm/modules/yahoo2 yahoo.c,1.47,1.48
- Index(es):