[gparted] Move method to match header file



commit d5064dfe035c6c1b99f4f7b8e54c084fb29df8e7
Author: Curtis Gedak <gedakc gmail com>
Date:   Tue Aug 10 11:36:10 2010 -0600

    Move method to match header file
    
    Also update copyright year

 include/Win_GParted.h |    2 +-
 src/Win_GParted.cc    |   26 +++++++++++++-------------
 2 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/include/Win_GParted.h b/include/Win_GParted.h
index 742cfdd..8c2e78c 100644
--- a/include/Win_GParted.h
+++ b/include/Win_GParted.h
@@ -1,5 +1,5 @@
 /* Copyright (C) 2004 Bart
- * Copyright (C) 2008, 2009 Curtis Gedak
+ * Copyright (C) 2008, 2009, 2010 Curtis Gedak
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 732eced..de11b1c 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -2063,19 +2063,6 @@ void Win_GParted::activate_undo()
 		close_operationslist() ;
 }
 
-int Win_GParted::partition_in_operation_queue_count( const Partition & partition )
-{
-	int operation_count = 0 ;
-
-	for ( unsigned int t = 0 ; t < operations .size() ; t++ )
-	{
-		if ( partition .get_path() == operations[ t ] ->partition_original .get_path() )
-			operation_count++ ;
-	}
-
-	return operation_count ;
-}
-
 void Win_GParted::remove_operation( int index, bool remove_all ) 
 {
 	if ( remove_all )
@@ -2097,6 +2084,19 @@ void Win_GParted::remove_operation( int index, bool remove_all )
 	}
 }
 
+int Win_GParted::partition_in_operation_queue_count( const Partition & partition )
+{
+	int operation_count = 0 ;
+
+	for ( unsigned int t = 0 ; t < operations .size() ; t++ )
+	{
+		if ( partition .get_path() == operations[ t ] ->partition_original .get_path() )
+			operation_count++ ;
+	}
+
+	return operation_count ;
+}
+
 void Win_GParted::activate_apply()
 {
 	Gtk::MessageDialog dialog( *this,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]