really cleaning up this time

--Mitch
This commit is contained in:
Michael Natterer
2000-03-21 17:47:32 +00:00
parent bd4e8ebd17
commit 919958e6b8
4 changed files with 26 additions and 30 deletions

View File

@ -1,3 +1,8 @@
2000-03-21 Michael Natterer <mitch@gimp.org>
* app/flip_tool.c: yesterday's "cleanups" made the file
un-compileable. Probably too much beer involved.
2000-03-21 Tuomas Kuosmanen <tigert@gimp.org> 2000-03-21 Tuomas Kuosmanen <tigert@gimp.org>
* gimp1_1_splash.ppm: Trumpets and Circus Entertainment to * gimp1_1_splash.ppm: Trumpets and Circus Entertainment to

View File

@ -15,6 +15,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
@ -26,17 +28,12 @@
#include "gdisplay.h" #include "gdisplay.h"
#include "gimage_mask.h" #include "gimage_mask.h"
#include "gimpui.h" #include "gimpui.h"
#include "temp_buf.h"
#include "path_transform.h" #include "path_transform.h"
#include "undo.h" #include "tile_manager_pvt.h" /* ick. */
#include "gimage.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h" /* ick. */
#define FLIP_INFO 0 #define FLIP_INFO 0
/* the flip structures */ /* the flip structures */
@ -173,12 +170,12 @@ flip_cursor_update (Tool *tool,
gpointer gdisp_ptr) gpointer gdisp_ptr)
{ {
GDisplay *gdisp; GDisplay *gdisp;
Drawable *drawable; GimpDrawable *drawable;
GdkCursorType ctype = GDK_TOP_LEFT_ARROW; GdkCursorType ctype = GDK_TOP_LEFT_ARROW;
gdisp = (GDisplay *) gdisp_ptr; gdisp = (GDisplay *) gdisp_ptr;
if ((drawable = gimage_get_active_drawable (gdisp->gimage))) if ((drawable = gimage_active_drawable (gdisp->gimage)))
{ {
gint x, y; gint x, y;
gint off_x, off_y; gint off_x, off_y;
@ -209,8 +206,8 @@ flip_cursor_update (Tool *tool,
Tool * Tool *
tools_new_flip (void) tools_new_flip (void)
{ {
Tool * tool; Tool *tool;
TransformCore * private; TransformCore *private;
/* The tool options */ /* The tool options */
if (! flip_options) if (! flip_options)

View File

@ -15,6 +15,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
@ -26,17 +28,12 @@
#include "gdisplay.h" #include "gdisplay.h"
#include "gimage_mask.h" #include "gimage_mask.h"
#include "gimpui.h" #include "gimpui.h"
#include "temp_buf.h"
#include "path_transform.h" #include "path_transform.h"
#include "undo.h" #include "tile_manager_pvt.h" /* ick. */
#include "gimage.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h" /* ick. */
#define FLIP_INFO 0 #define FLIP_INFO 0
/* the flip structures */ /* the flip structures */
@ -173,12 +170,12 @@ flip_cursor_update (Tool *tool,
gpointer gdisp_ptr) gpointer gdisp_ptr)
{ {
GDisplay *gdisp; GDisplay *gdisp;
Drawable *drawable; GimpDrawable *drawable;
GdkCursorType ctype = GDK_TOP_LEFT_ARROW; GdkCursorType ctype = GDK_TOP_LEFT_ARROW;
gdisp = (GDisplay *) gdisp_ptr; gdisp = (GDisplay *) gdisp_ptr;
if ((drawable = gimage_get_active_drawable (gdisp->gimage))) if ((drawable = gimage_active_drawable (gdisp->gimage)))
{ {
gint x, y; gint x, y;
gint off_x, off_y; gint off_x, off_y;
@ -209,8 +206,8 @@ flip_cursor_update (Tool *tool,
Tool * Tool *
tools_new_flip (void) tools_new_flip (void)
{ {
Tool * tool; Tool *tool;
TransformCore * private; TransformCore *private;
/* The tool options */ /* The tool options */
if (! flip_options) if (! flip_options)

View File

@ -15,6 +15,8 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
@ -26,17 +28,12 @@
#include "gdisplay.h" #include "gdisplay.h"
#include "gimage_mask.h" #include "gimage_mask.h"
#include "gimpui.h" #include "gimpui.h"
#include "temp_buf.h"
#include "path_transform.h" #include "path_transform.h"
#include "undo.h" #include "tile_manager_pvt.h" /* ick. */
#include "gimage.h"
#include "config.h"
#include "libgimp/gimpintl.h" #include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h" /* ick. */
#define FLIP_INFO 0 #define FLIP_INFO 0
/* the flip structures */ /* the flip structures */
@ -173,12 +170,12 @@ flip_cursor_update (Tool *tool,
gpointer gdisp_ptr) gpointer gdisp_ptr)
{ {
GDisplay *gdisp; GDisplay *gdisp;
Drawable *drawable; GimpDrawable *drawable;
GdkCursorType ctype = GDK_TOP_LEFT_ARROW; GdkCursorType ctype = GDK_TOP_LEFT_ARROW;
gdisp = (GDisplay *) gdisp_ptr; gdisp = (GDisplay *) gdisp_ptr;
if ((drawable = gimage_get_active_drawable (gdisp->gimage))) if ((drawable = gimage_active_drawable (gdisp->gimage)))
{ {
gint x, y; gint x, y;
gint off_x, off_y; gint off_x, off_y;
@ -209,8 +206,8 @@ flip_cursor_update (Tool *tool,
Tool * Tool *
tools_new_flip (void) tools_new_flip (void)
{ {
Tool * tool; Tool *tool;
TransformCore * private; TransformCore *private;
/* The tool options */ /* The tool options */
if (! flip_options) if (! flip_options)