gimp r27496 - in trunk: . app/actions



Author: mitch
Date: Fri Oct 31 13:18:55 2008
New Revision: 27496
URL: http://svn.gnome.org/viewvc/gimp?rev=27496&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/actions/text-tool-actions.c
   trunk/app/actions/text-tool-commands.c

Modified: trunk/app/actions/text-tool-actions.c
==============================================================================
--- trunk/app/actions/text-tool-actions.c	(original)
+++ trunk/app/actions/text-tool-actions.c	Fri Oct 31 13:18:55 2008
@@ -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"

Modified: trunk/app/actions/text-tool-commands.c
==============================================================================
--- trunk/app/actions/text-tool-commands.c	(original)
+++ trunk/app/actions/text-tool-commands.c	Fri Oct 31 13:18:55 2008
@@ -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 @@
 {
   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));
 



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