Commit addaad45 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

app/Makefile.am removed. new files: the convert functionality without GUI

2001-04-18  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/convert.[ch]: removed.
	* app/gimpimage-convert.[ch]: new files: the convert functionality
	without GUI (now called gimp_image_convert()).

	* app/gui/Makefile.am
	* app/gui/convert-dialog.[ch]: new files.

	* app/gui/commands.c
	* app/pdb/convert_cmds.c
	* po/POTFILES.in
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/Makefile.am
	* tools/pdbgen/enums.pl: changed accordingly.
parent 91471766
2001-04-18 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* app/convert.[ch]: removed.
* app/gimpimage-convert.[ch]: new files: the convert functionality
without GUI (now called gimp_image_convert()).
* app/gui/Makefile.am
* app/gui/convert-dialog.[ch]: new files.
* app/gui/commands.c
* app/pdb/convert_cmds.c
* po/POTFILES.in
* tools/pdbgen/pdb/convert.pdb
* tools/pdbgen/Makefile.am
* tools/pdbgen/enums.pl: changed accordingly.
2001-04-18 Michael Natterer <mitch@gimp.org>
* app/devices.[ch]
......
......@@ -83,8 +83,6 @@ gimp_SOURCES = \
##
channel_ops.c \
channel_ops.h \
convert.c \
convert.h \
gdisplay.c \
gdisplay.h \
gdisplay_ops.c \
......@@ -174,6 +172,8 @@ gimp_SOURCES = \
gimphistogram.h \
gimpimage.c \
gimpimage.h \
gimpimage-convert.c \
gimpimage-convert.h \
gimpimage-undo.c \
gimpimage-undo.h \
gimplayer.c \
......
......@@ -33,6 +33,7 @@
#include "tools/gimptoolinfo.h"
#include "tools/tool_manager.h"
#include "convert-dialog.h"
#include "errorconsole.h"
#include "info-dialog.h"
#include "info-window.h"
......@@ -41,7 +42,6 @@
#include "app_procs.h"
#include "commands.h"
#include "context_manager.h"
#include "convert.h"
#include "desaturate.h"
#include "channel_ops.h"
#include "equalize.h"
......@@ -212,7 +212,7 @@ edit_paste_cmd_callback (GtkWidget *widget,
GDisplay *gdisp;
return_if_no_display (gdisp);
global_edit_paste (gdisp, 0);
global_edit_paste (gdisp, FALSE);
}
void
......@@ -222,7 +222,7 @@ edit_paste_into_cmd_callback (GtkWidget *widget,
GDisplay *gdisp;
return_if_no_display (gdisp);
global_edit_paste (gdisp, 1);
global_edit_paste (gdisp, TRUE);
}
void
......@@ -589,18 +589,18 @@ view_info_window_cmd_callback (GtkWidget *widget,
GDisplay *gdisp;
return_if_no_display (gdisp);
if (!info_window_follows_mouse)
if (! info_window_follows_mouse)
{
if (! gdisp->window_info_dialog)
gdisp->window_info_dialog = info_window_create ((void *) gdisp);
info_window_update(gdisp);
info_window_update (gdisp);
info_dialog_popup (gdisp->window_info_dialog);
}
else
{
info_window_follow_auto();
info_window_follow_auto ();
}
}
void
......@@ -649,7 +649,7 @@ view_toggle_rulers_cmd_callback (GtkWidget *widget,
GDisplay *gdisp;
return_if_no_display (gdisp);
if (!GTK_CHECK_MENU_ITEM (widget)->active)
if (! GTK_CHECK_MENU_ITEM (widget)->active)
{
if (GTK_WIDGET_VISIBLE (gdisp->origin))
{
......@@ -662,7 +662,7 @@ view_toggle_rulers_cmd_callback (GtkWidget *widget,
}
else
{
if (!GTK_WIDGET_VISIBLE (gdisp->origin))
if (! GTK_WIDGET_VISIBLE (gdisp->origin))
{
gtk_widget_show (gdisp->origin);
gtk_widget_show (gdisp->hrule);
......@@ -680,14 +680,14 @@ view_toggle_statusbar_cmd_callback (GtkWidget *widget,
GDisplay *gdisp;
return_if_no_display (gdisp);
if (!GTK_CHECK_MENU_ITEM (widget)->active)
if (! GTK_CHECK_MENU_ITEM (widget)->active)
{
if (GTK_WIDGET_VISIBLE (gdisp->statusarea))
gtk_widget_hide (gdisp->statusarea);
}
else
{
if (!GTK_WIDGET_VISIBLE (gdisp->statusarea))
if (! GTK_WIDGET_VISIBLE (gdisp->statusarea))
gtk_widget_show (gdisp->statusarea);
}
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -21,6 +21,8 @@ libappgui_la_SOURCES = \
colormap-dialog.h \
commands.c \
commands.h \
convert-dialog.c \
convert-dialog.h \
dialogs.c \
dialogs.h \
dialogs-commands.c \
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -3,7 +3,6 @@
app/app_procs.c
app/channel_ops.c
app/convert.c
app/desaturate.c
app/devices.c
app/disp_callbacks.c
......@@ -54,6 +53,7 @@ app/gui/color-notebook.c
app/gui/color-select.c
app/gui/colormap-dialog.c
app/gui/commands.c
app/gui/convert-dialog.c
app/gui/file-new-dialog.c
app/gui/gradient-editor.c
app/gui/gradient-select.c
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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