[anjuta] Fix identation.



commit 4f65fb4bd7adf639ac13054b73373eeb6e2bbebf
Author: Marco Diego Aurélio Mesquita <marcodiegomesquita gmail com>
Date:   Tue Feb 22 17:21:15 2011 -0300

    Fix identation.

 plugins/language-support-cpp-java/plugin.c |   44 ++++++++++++++-------------
 1 files changed, 23 insertions(+), 21 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/plugin.c b/plugins/language-support-cpp-java/plugin.c
index 0797f8e..8ed34a4 100644
--- a/plugins/language-support-cpp-java/plugin.c
+++ b/plugins/language-support-cpp-java/plugin.c
@@ -524,30 +524,32 @@ on_glade_drop (IAnjutaEditor* editor,
 	g_signal_query (id, &query);
 
 	if (!language_support_has_symbol (lang_plugin, handler))
-	switch (lang_plugin->filetype)
 	{
-		case LS_FILE_C:
-		{
-			GString* str = language_support_generate_c_signature (widget, query,
-																  swapped, handler);
-			g_string_append (str, "\n{\n\n}\n");
-			ianjuta_editor_insert (editor, iterator,
-			                       str->str, -1, NULL);
-			g_string_free (str, TRUE);
-			break;
-		}
-		case LS_FILE_CHDR:
+		switch (lang_plugin->filetype)
 		{
-			GString* str = language_support_generate_c_signature (widget, query,
-																  swapped, handler);
-			g_string_append (str, ";\n");
-			ianjuta_editor_insert (editor, iterator,
-			                       str->str, -1, NULL);
-			g_string_free (str, TRUE);
-			break;
+			case LS_FILE_C:
+			{
+				GString* str = language_support_generate_c_signature (widget, query,
+																	  swapped, handler);
+				g_string_append (str, "\n{\n\n}\n");
+				ianjuta_editor_insert (editor, iterator,
+					                   str->str, -1, NULL);
+				g_string_free (str, TRUE);
+				break;
+			}
+			case LS_FILE_CHDR:
+			{
+				GString* str = language_support_generate_c_signature (widget, query,
+																	  swapped, handler);
+				g_string_append (str, ";\n");
+				ianjuta_editor_insert (editor, iterator,
+					                   str->str, -1, NULL);
+				g_string_free (str, TRUE);
+				break;
+			}
+			default:
+				break;
 		}
-		default:
-			break;
 	}
 	g_strfreev (data);
 }



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