Commit 369af492 authored by Johannes Schmid's avatar Johannes Schmid Committed by Johannes Schmid

Removed debugging output

2009-02-09  Johannes Schmid  <jhs@gnome.org>

	* plugins/language-support-cpp-java/plugin.c
	(get_line_indentation_string), (get_line_indentation_base):
	Removed debugging output
	
	* src/main.c (main):
	Reintroduce gnome_program_init() to avoid warnings from libgnomeui

svn path=/trunk/; revision=4720
parent 5fcb10d6
2009-02-09 Johannes Schmid <jhs@gnome.org>
* plugins/language-support-cpp-java/plugin.c
(get_line_indentation_string), (get_line_indentation_base):
Removed debugging output
* src/main.c (main):
Reintroduce gnome_program_init() to avoid warnings from libgnomeui
2009-02-09 Johannes Schmid <jhs@gnome.org>
* src/anjuta-app.c (anjuta_app_add_widget_full):
......@@ -192,9 +192,6 @@ get_line_indentation_string (IAnjutaEditor *editor, gint spaces, gint line_inden
g_return_val_if_fail (spaces >= 0, NULL);
g_warning ("Spaces: %d", line_indent_spaces);
if (spaces <= 0)
return NULL;
......@@ -1180,9 +1177,7 @@ get_line_indentation_base (CppJavaPlugin *plugin,
line_indent += extra_indent;
}
g_object_unref (iter);
g_warning ("Proposed spaces: %d", *line_indent_spaces);
return line_indent;
}
......
......@@ -33,6 +33,7 @@
#include <libanjuta/resources.h>
#include <libanjuta/anjuta-debug.h>
#include <libanjuta/interfaces/ianjuta-file-loader.h>
#include <gnome.h>
#include "anjuta.h"
......@@ -163,7 +164,15 @@ main (int argc, char *argv[])
g_option_context_add_main_entries (context, anjuta_options, NULL);
#endif
g_option_context_add_group (context, gtk_get_option_group (TRUE));
/* gnome_program_init() does this for us - enable when it's removed */
/* g_option_context_add_group (context, gtk_get_option_group (TRUE));*/
/* Init Gnome - remove once we get rid of libgnome */
gnome_program_init (PACKAGE, VERSION,
LIBGNOMEUI_MODULE, argc, argv,
GNOME_PARAM_GOPTION_CONTEXT, context,
GNOME_PARAM_HUMAN_READABLE_NAME,
_("Integrated Development Environment"),
GNOME_PARAM_NONE);
/* Initialize threads, if possible */
#ifdef G_THREADS_ENABLED
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment