app/actions/text-tool-actions.c add missing includes and remove unused

2008-10-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/text-tool-actions.c
	* app/actions/text-tool-commands.c: add missing includes and
	remove unused variable.


svn path=/trunk/; revision=27496
This commit is contained in:
Michael Natterer 2008-10-31 13:18:55 +00:00 committed by Michael Natterer
parent 097619a721
commit 9e7edcbe41
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2008-10-31 Michael Natterer <mitch@gimp.org>
* app/actions/text-tool-actions.c
* app/actions/text-tool-commands.c: add missing includes and
remove unused variable.
2008-10-31 Sven Neumann <sven@gimp.org>
* configure.in: also check for freetype2 when checking for

View File

@ -25,9 +25,10 @@
#include "actions-types.h"
#include "core/gimpdrawable.h"
#include "core/gimpimage.h"
#include "text/gimptextlayer.h"
#include "widgets/gimpactiongroup.h"
#include "widgets/gimptexteditor.h"
#include "widgets/gimphelp-ids.h"

View File

@ -25,6 +25,7 @@
#include "actions-types.h"
#include "core/gimp.h"
#include "core/gimptoolinfo.h"
#include "widgets/gimphelp-ids.h"
@ -207,9 +208,8 @@ text_tool_load_dialog_response (GtkWidget *dialog,
{
if (response_id == GTK_RESPONSE_OK)
{
GtkTextBuffer *buffer;
gchar *filename;
GError *error = NULL;
gchar *filename;
GError *error = NULL;
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));