Commit 870c1952 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh
Browse files

plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl Added channel

2003-12-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/channel_mixer.c: Added channel mixer plugin.
        Needs some work still, notably the settings load/save handling.
        Addresses bug #113901.
parent 51b79114
2003-12-02 Manish Singh <yosh@gimp.org>
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/channel_mixer.c: Added channel mixer plugin.
Needs some work still, notably the settings load/save handling.
Addresses bug #113901.
2003-12-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: applied a modified version of a patch
......@@ -20,6 +20,7 @@ bumpmap
bz2
c_astretch
ccanalyze
channel_mixer
checkerboard
color_enhance
colorify
......
......@@ -373,7 +373,7 @@ static void CML_save_to_file_callback (GtkWidget *widget,
static void CML_save_to_file_response (GtkFileSelection *fs,
gint response_id,
gpointer data);
static gint force_overwrite (const gchar *filename,
static gboolean force_overwrite (const gchar *filename,
GtkWidget *parent);
static void CML_preview_update_callback (GtkWidget *widget,
......@@ -2065,7 +2065,6 @@ CML_save_to_file_callback (GtkWidget *widget,
g_signal_connect (filesel, "delete_event",
G_CALLBACK (gtk_true),
NULL);
}
if (strlen (VALS.last_file_name) > 0)
......@@ -2186,7 +2185,7 @@ CML_save_to_file_response (GtkFileSelection *fs,
gtk_widget_hide (GTK_WIDGET (fs));
}
static gint
static gboolean
force_overwrite (const gchar *filename,
GtkWidget *parent)
{
......@@ -2247,6 +2246,9 @@ CML_load_from_file_callback (GtkWidget *widget,
g_signal_connect (filesel, "response",
G_CALLBACK (CML_load_from_file_response),
NULL);
g_signal_connect (filesel, "delete_event",
G_CALLBACK (gtk_true),
NULL);
}
if ((selective_load_source == 0) || (selective_load_destination == 0))
......@@ -2303,7 +2305,7 @@ CML_load_from_file_response (GtkFileSelection *fs,
}
}
gtk_widget_destroy (GTK_WIDGET (fs));
gtk_widget_hide (GTK_WIDGET (fs));
}
static gint
......
......@@ -40,6 +40,7 @@ libexec_PROGRAMS = \
$(BZ2) \
c_astretch \
ccanalyze \
channel_mixer \
checkerboard \
color_enhance \
colorify \
......@@ -393,6 +394,18 @@ ccanalyze_LDADD = \
@GTK_LIBS@ \
@INTLLIBS@
channel_mixer_SOURCES = \
channel_mixer.c
channel_mixer_LDADD = \
$(top_builddir)/libgimp/libgimpui-$(LT_RELEASE).la \
$(top_builddir)/libgimpwidgets/libgimpwidgets-$(LT_RELEASE).la \
$(top_builddir)/libgimp/libgimp-$(LT_RELEASE).la \
$(top_builddir)/libgimpcolor/libgimpcolor-$(LT_RELEASE).la \
$(top_builddir)/libgimpbase/libgimpbase-$(LT_RELEASE).la \
@GTK_LIBS@ \
@INTLLIBS@
checkerboard_SOURCES = \
checkerboard.c
......
This diff is collapsed.
......@@ -17,6 +17,7 @@
'bz2' => { libdep => 'glib', optional => 1 },
'c_astretch' => { libdep => 'glib' },
'ccanalyze' => { libdep => 'gtk', ui => 1 },
'channel_mixer' => { libdep => 'gtk', ui => 1 },
'checkerboard' => { libdep => 'gtk', ui => 1 },
'color_enhance' => { libdep => 'gtk', ui => 1 },
'colortoalpha' => { libdep => 'gtk', ui => 1 },
......
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