diff src/prefs.c @ 1250:b5783215b245

[gaim-migrate @ 1260] decklin's clean up of the account editor, much needed. indent -kr -i8 -l105 -ncs -cp7 -npcs -T GtkWidget -T gpointer -T AppletCallbackFunc -T GtkFunction -T gaim_plugin_remove -T name -T FILE -T gchar -T user_opts -T GdkEvent -T GtkObject ... did about.c, aim.c, away.c, browser.c, buddy_chat.c, gaimrc.c, html.c, idle.c, multi.c. Need to do buddy.c, conversation.c, dialogs.c, oscar.c, perl.c, plugins.c, prefs.c, proxy.c, prpl.c, rvous.c, server.c, sound.c, toc.c, util.c. not doing gtkhtml.c because it's a piece of crap anyway, or *ticker.c because they're syd's. got rid of debug_buff, just debug_printf now. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 13 Dec 2000 20:18:35 +0000
parents eaa0e2f5ace4
children 8342d3aab1f1
line wrap: on
line diff
--- a/src/prefs.c	Wed Dec 13 06:39:24 2000 +0000
+++ b/src/prefs.c	Wed Dec 13 20:18:35 2000 +0000
@@ -1884,8 +1884,6 @@
 	gtk_widget_show(prefs);
 }
 
-char debug_buff[BUF_LONG];
-
 static gint debug_delete(GtkWidget *w, GdkEvent *event, void *dummy)
 {
 	if (debugbutton)
@@ -1939,15 +1937,6 @@
 	}
 }
 
-void debug_print(char *chars)
-{
-	if (general_options & OPT_GEN_DEBUG && dw)
-		gtk_text_insert(GTK_TEXT(dw->entry), NULL, NULL, NULL, chars, strlen(chars));
-#ifdef DEBUG
-        printf("%s", chars);
-#endif
-}
-
 void debug_printf(char *fmt, ...)
 {
 	va_list ap;
@@ -1959,6 +1948,9 @@
 		va_end(ap);
 
 		gtk_text_insert(GTK_TEXT(dw->entry), NULL, NULL, NULL, s, -1);
+#ifdef DEBUG
+        printf("%s", chars);
+#endif
 		g_free(s);
 	}
 }