pidgin/gtkaccount.c

branch
soc.2013.gobjectification
changeset 34889
4ea2da14cd0e
parent 34827
1615d90aa584
parent 34304
faf0414a8b51
child 34940
c0aef3b64c56
child 36574
e9b59dd16117
--- a/pidgin/gtkaccount.c	Thu Aug 22 00:32:28 2013 +0530
+++ b/pidgin/gtkaccount.c	Thu Aug 22 01:35:32 2013 +0530
@@ -2060,7 +2060,8 @@
 					return;
 			}
 
-			purple_accounts_reorder(a, dest_index);
+			if (dest_index >= 0)
+				purple_accounts_reorder(a, dest_index);
 		}
 	}
 }

mercurial