[gaim-migrate @ 10742]

Wed, 25 Aug 2004 03:09:08 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Wed, 25 Aug 2004 03:09:08 +0000
changeset 9863
323e4fe28791
parent 9862
631b60417c7b
child 9864
bd2c39357c73

[gaim-migrate @ 10742]
Whitespace and comment changes, mostly. And changed a few other things
that aren't ansi c...

plugins/docklet/docklet-win32.c file | annotate | diff | comparison | revisions
plugins/filectl.c file | annotate | diff | comparison | revisions
plugins/timestamp.c file | annotate | diff | comparison | revisions
src/gtkconv.c file | annotate | diff | comparison | revisions
src/gtkimhtmltoolbar.c file | annotate | diff | comparison | revisions
src/protocols/gg/gg.c file | annotate | diff | comparison | revisions
src/protocols/gg/libgg.c file | annotate | diff | comparison | revisions
src/protocols/gg/libgg.h file | annotate | diff | comparison | revisions
src/proxy.c file | annotate | diff | comparison | revisions
src/win32/IdleTracker/idletrack.c file | annotate | diff | comparison | revisions
--- a/plugins/docklet/docklet-win32.c	Wed Aug 25 02:04:38 2004 +0000
+++ b/plugins/docklet/docklet-win32.c	Wed Aug 25 03:09:08 2004 +0000
@@ -128,7 +128,7 @@
 
 	RegisterClassEx(&wcex);
 
-	// Create the window
+	/* Create the window */
 	return (CreateWindow(wname, "", 0, 0, 0, 0, 0, GetDesktopWindow(), NULL, wgaim_hinstance(), 0));
 }
 
--- a/plugins/filectl.c	Wed Aug 25 02:04:38 2004 +0000
+++ b/plugins/filectl.c	Wed Aug 25 03:09:08 2004 +0000
@@ -92,10 +92,10 @@
 			c = gaim_find_conversation(arg1);
 			if (c)
 			{
-			    /* disable for now
-			    gaim_conversation_write(c, arg2, WFLAG_SEND, NULL, time(NULL), -1);
-			    serv_send_im(c->gc, arg1, arg2, 0);
-			    */
+				/* disable for now
+				gaim_conversation_write(c, arg2, WFLAG_SEND, NULL, time(NULL), -1);
+				serv_send_im(c->gc, arg1, arg2, 0);
+				*/
 			}
 			free(arg1);
 			free(arg2);
@@ -104,13 +104,13 @@
 			serv_set_away_all(arg1);
 			free(arg1);
 		} else if (!strncasecmp(command, "hide", 4)) {
-		    //hide_buddy_list();
+			/* hide_buddy_list(); */
 		} else if (!strncasecmp(command, "unhide", 6)) {
-		    //unhide_buddy_list();
+			/* unhide_buddy_list(); */
 		} else if (!strncasecmp(command, "back", 4)) {
-		    //do_im_back();
+			/* do_im_back(); */
 		} else if (!strncasecmp(command, "quit", 4)) {
-		    //gaim_core_quit();
+			/* gaim_core_quit(); */
 		}
 		free(command);
 	}
--- a/plugins/timestamp.c	Wed Aug 25 02:04:38 2004 +0000
+++ b/plugins/timestamp.c	Wed Aug 25 03:09:08 2004 +0000
@@ -70,7 +70,7 @@
 
 static gboolean
 timestamp_displaying_conv_msg(GaimAccount *account, GaimConversation *conv,
-		     char **buffer, void *data)
+							  char **buffer, void *data)
 {
 	int is_timestamp_enabled;
 	
@@ -221,7 +221,7 @@
 	gaim_signal_connect(conv_handle, "conversation-created",
 					plugin, GAIM_CALLBACK(timestamp_new_convo), NULL);
 
-	//record IM display events for each conversation
+	/* record IM display events for each conversation */
 	gaim_signal_connect(conv_handle, "receiving-im-msg",
 					plugin, GAIM_CALLBACK(timestamp_receiving_msg), NULL);
 	gaim_signal_connect(conv_handle, "displaying-im-msg",
--- a/src/gtkconv.c	Wed Aug 25 02:04:38 2004 +0000
+++ b/src/gtkconv.c	Wed Aug 25 03:09:08 2004 +0000
@@ -171,6 +171,8 @@
 
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
 
+	gtk_imhtml_scroll_to_end((GtkIMHtml *)gtkconv->imhtml);
+
 	/* we only save the new height if the formatting toolbar visibility matches the pref */
 	saveheight = (gtkconv->show_formatting_toolbar == gaim_prefs_get_bool("/gaim/gtk/conversations/show_formatting_toolbar"));