Commit 3b229d42 authored by Manish Singh's avatar Manish Singh

Quickie plugin refcount cleanups. (not done yet)

Removed Julia and Mandelbrot plugins.

-Yosh
parent 4e1c0d5d
......@@ -347,8 +347,6 @@ plug-ins/Anamorphose/Makefile
plug-ins/CentralReflection/Makefile
plug-ins/Curtain/Makefile
plug-ins/Encrypt_Decrypt/Makefile
plug-ins/Julia/Makefile
plug-ins/Mandelbrot/Makefile
plug-ins/MapObject/Makefile
plug-ins/megawidget/Makefile
plug-ins/libgck/Makefile
......
......@@ -909,6 +909,7 @@ gtk_container_border_width(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), 6);
dialog_update_preview();
gtk_main();
gtk_object_unref (GTK_OBJECT (tips));
gdk_flush();
if (the_tile != NULL) {
gimp_tile_unref(the_tile, FALSE);
......
......@@ -625,6 +625,7 @@ anamorphose_dialog(GDrawable *drawable)
gtk_widget_show(dlg);
gtk_main();
gtk_object_unref (GTK_OBJECT (tips));
gdk_flush();
return bint.run;
......
......@@ -1300,6 +1300,7 @@ DIALOG ()
GtkWidget *dlg;
GtkWidget *hbox;
GtkWidget *button;
GtkTooltips *tooltips;
gchar **argv;
gint argc;
......@@ -1489,7 +1490,6 @@ DIALOG ()
random_sensitives[3].logic = FALSE;
{
GtkWidget *button;
GtkTooltips *tooltips;
button = gtkW_vbox_add_button (box, "Switch to \"from seed\" with the last seed",
(GtkSignalFunc) CML_set_or_randomize_seed_callback,
......@@ -1605,6 +1605,9 @@ DIALOG ()
preview_update ();
gtk_main ();
gtk_object_unref (GTK_OBJECT (tooltips));
gdk_flush ();
return INTERFACE.run;
......
......@@ -28,6 +28,8 @@
#include <stdlib.h>
#include <math.h>
#include <signal.h>
#include <unistd.h>
#include "libgimp/gimp.h"
#include "gtk/gtk.h"
......@@ -172,6 +174,9 @@ run(char *name,
break;
}
printf("creflect: waiting... (pid %d)\n", getpid());
kill(getpid(), SIGSTOP);
gimp_tile_cache_ntiles(2 *(drawable->width / gimp_tile_width() + 1));
gimp_progress_init("Applying Central-Reflection. Please wait...");
drawCentralReflection(drawable);
......@@ -571,6 +576,9 @@ CentralReflection_dialog(GDrawable *drawable)
gtk_widget_show(dlg);
gtk_main();
gtk_object_unref(GTK_OBJECT(tips));
gdk_flush();
return bint.run;
......
......@@ -403,6 +403,7 @@ curtain_dialog()
gtk_widget_show(dlg);
gtk_main();
gtk_object_unref (GTK_OBJECT (tips));
gdk_flush();
return bint.run;
......
......@@ -172,6 +172,7 @@ run(char *name,
if (!signature_warning_dialog())
return;
gtk_object_unref (GTK_OBJECT (tips));
if (ending==100) {wvals.mode=1;} else {wvals.mode=0;}
break;
......
Makefile.in
Makefile
.deps
_libs
.libs
Julia
-------------------------------------------
GIMP-Plug-In
-------------------------------------------
Written by Daniel Cotting
Bahnhofstrasse 31
CH-3066 Stettlen (Switzerland)
cotting@mygale.org
www.mygale.org/~cotting
-------------------------------------------
Some code is taken out of other plug-ins
written by other authors.
-------------------------------------------
-------------------------------------------
INSTALLATION
-------------------------------------------
To install it, you have to edit the
Makefile (change install-path).
Afterwards run make. This will compile
and install the plug-in in the right
directory. Once the new code is installed,
you can run the GIMP and enjoy the new
functions and effects it provides.
-------------------------------------------
-------------------------------------------
REDUCE CODE SIZE
-------------------------------------------
With this new release 1.01 the size of
the logo in the about box has been reduced
in order to make smaller binaries. In
general the compiled plug-in will be
about 25-30% of the size of version 1.00.
If you find that the plug-in is still
too big, you can compress the executables
with the gzexe program (if it is avaiable
on your system). To do so, change to the
plug-in directory of the GIMP...
cd /usr/local/lib/gimp/VERSION/plug-ins
...and execute the command...
gzexe PLUGIN_NAME
...and remember to remove the uncompres-
sed binary, which has been renamed to
PLUGIN_NAME~, by running the command:
rm PLUGIN_NAME~
This will result in a code size of about
35 to 40 kB, which isn't too much IMHO.
------------------------------------------
------------------------------------------
FEEDBACK
------------------------------------------
I'm interested in any feedback, comments,
bug-reports, suggestions etc. If you
have anything you would like to tell
me, you can write to cotting@mygale.org.
Also have a look at the GIMP-section of
my homepage at www.mygale.org/~cotting.
------------------------------------------
Thank you and happy GIMPing!
Daniel Cotting
------------------------------------------
\ No newline at end of file
This diff is collapsed.
## Process this file with automake to produce Makefile.in
pluginlibdir = $(gimpplugindir)/plug-ins
pluginlib_PROGRAMS = Julia
Julia_SOURCES = \
Julia.c logo.h
INCLUDES = \
$(X_CFLAGS) \
-I$(top_srcdir) \
-I$(includedir)
LDADD = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la \
$(X_LIBS) \
-lc
DEPS = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la
Julia_DEPENDENCIES = $(DEPS)
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
@for subdir in $(SUBDIRS); do \
files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
for file in $$files; do \
echo $$subdir/$$file; \
done; \
done
-------------------------------------------
GIMP-Plug-In
-------------------------------------------
Written by Daniel Cotting
Bahnhofstrasse 31
CH-3066 Stettlen (Switzerland)
cotting@mygale.org
www.mygale.org/~cotting
-------------------------------------------
Some code is taken out of other plug-ins
written by other authors.
-------------------------------------------
-------------------------------------------
INSTALLATION
-------------------------------------------
To install it, you have to edit the
Makefile (change install-path).
Afterwards run make. This will compile
and install the plug-in in the right
directory. Once the new code is installed,
you can run the GIMP and enjoy the new
functions and effects it provides.
-------------------------------------------
-------------------------------------------
REDUCE CODE SIZE
-------------------------------------------
With this new release 1.01 the size of
the logo in the about box has been reduced
in order to make smaller binaries. In
general the compiled plug-in will be
about 25-30% of the size of version 1.00.
If you find that the plug-in is still
too big, you can compress the executables
with the gzexe program (if it is avaiable
on your system). To do so, change to the
plug-in directory of the GIMP...
cd /usr/local/lib/gimp/VERSION/plug-ins
...and execute the command...
gzexe PLUGIN_NAME
...and remember to remove the uncompres-
sed binary, which has been renamed to
PLUGIN_NAME~, by running the command:
rm PLUGIN_NAME~
This will result in a code size of about
35 to 40 kB, which isn't too much IMHO.
------------------------------------------
------------------------------------------
FEEDBACK
------------------------------------------
I'm interested in any feedback, comments,
bug-reports, suggestions etc. If you
have anything you would like to tell
me, you can write to cotting@mygale.org.
Also have a look at the GIMP-section of
my homepage at www.mygale.org/~cotting.
------------------------------------------
Thank you and happy GIMPing!
Daniel Cotting
------------------------------------------
\ No newline at end of file
-------------------------------------------
GIMP-Plug-In
-------------------------------------------
Written by Daniel Cotting
Bahnhofstrasse 31
CH-3066 Stettlen (Switzerland)
cotting@mygale.org
www.mygale.org/~cotting
-------------------------------------------
Some code is taken out of other plug-ins
written by other authors.
-------------------------------------------
-------------------------------------------
INSTALLATION
-------------------------------------------
To install it, you have to edit the
Makefile (change install-path).
Afterwards run make. This will compile
and install the plug-in in the right
directory. Once the new code is installed,
you can run the GIMP and enjoy the new
functions and effects it provides.
-------------------------------------------
-------------------------------------------
REDUCE CODE SIZE
-------------------------------------------
With this new release 1.01 the size of
the logo in the about box has been reduced
in order to make smaller binaries. In
general the compiled plug-in will be
about 25-30% of the size of version 1.00.
If you find that the plug-in is still
too big, you can compress the executables
with the gzexe program (if it is avaiable
on your system). To do so, change to the
plug-in directory of the GIMP...
cd /usr/local/lib/gimp/VERSION/plug-ins
...and execute the command...
gzexe PLUGIN_NAME
...and remember to remove the uncompres-
sed binary, which has been renamed to
PLUGIN_NAME~, by running the command:
rm PLUGIN_NAME~
This will result in a code size of about
35 to 40 kB, which isn't too much IMHO.
------------------------------------------
------------------------------------------
FEEDBACK
------------------------------------------
I'm interested in any feedback, comments,
bug-reports, suggestions etc. If you
have anything you would like to tell
me, you can write to cotting@mygale.org.
Also have a look at the GIMP-section of
my homepage at www.mygale.org/~cotting.
------------------------------------------
Thank you and happy GIMPing!
Daniel Cotting
------------------------------------------
\ No newline at end of file
This diff is collapsed.
......@@ -9,8 +9,6 @@ SUBDIRS = \
CentralReflection \
Curtain \
Encrypt_Decrypt \
Julia \
Mandelbrot \
DigitalSignature \
dbbrowser \
fuse \
......
Makefile.in
Makefile
.deps
_libs
.libs
Mandelbrot
-------------------------------------------
GIMP-Plug-In
-------------------------------------------
Written by Daniel Cotting
Bahnhofstrasse 31
CH-3066 Stettlen (Switzerland)
cotting@mygale.org
www.mygale.org/~cotting
-------------------------------------------
Some code is taken out of other plug-ins
written by other authors.
-------------------------------------------
-------------------------------------------
INSTALLATION
-------------------------------------------
To install it, you have to edit the
Makefile (change install-path).
Afterwards run make. This will compile
and install the plug-in in the right
directory. Once the new code is installed,
you can run the GIMP and enjoy the new
functions and effects it provides.
-------------------------------------------
-------------------------------------------
REDUCE CODE SIZE
-------------------------------------------
With this new release 1.01 the size of
the logo in the about box has been reduced
in order to make smaller binaries. In
general the compiled plug-in will be
about 25-30% of the size of version 1.00.
If you find that the plug-in is still
too big, you can compress the executables
with the gzexe program (if it is avaiable
on your system). To do so, change to the
plug-in directory of the GIMP...
cd /usr/local/lib/gimp/VERSION/plug-ins
...and execute the command...
gzexe PLUGIN_NAME
...and remember to remove the uncompres-
sed binary, which has been renamed to
PLUGIN_NAME~, by running the command:
rm PLUGIN_NAME~
This will result in a code size of about
35 to 40 kB, which isn't too much IMHO.
------------------------------------------
------------------------------------------
FEEDBACK
------------------------------------------
I'm interested in any feedback, comments,
bug-reports, suggestions etc. If you
have anything you would like to tell
me, you can write to cotting@mygale.org.
Also have a look at the GIMP-section of
my homepage at www.mygale.org/~cotting.
------------------------------------------
Thank you and happy GIMPing!
Daniel Cotting
------------------------------------------
\ No newline at end of file
## Process this file with automake to produce Makefile.in
pluginlibdir = $(gimpplugindir)/plug-ins
pluginlib_PROGRAMS = Mandelbrot
Mandelbrot_SOURCES = \
Mandelbrot.c logo.h
INCLUDES = \
$(X_CFLAGS) \
-I$(top_srcdir) \
-I$(includedir)
LDADD = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la \
$(X_LIBS) \
-lc
DEPS = \
$(top_builddir)/libgimp/libgimpui.la \
$(top_builddir)/libgimp/libgimp.la
Mandelbrot_DEPENDENCIES = $(DEPS)
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
@for subdir in $(SUBDIRS); do \
files=`cd $$subdir; $(MAKE) files | grep -v "make\[[1-9]\]"`; \
for file in $$files; do \
echo $$subdir/$$file; \
done; \
done
This diff is collapsed.
-------------------------------------------
GIMP-Plug-In
-------------------------------------------
Written by Daniel Cotting
Bahnhofstrasse 31
CH-3066 Stettlen (Switzerland)
cotting@mygale.org
www.mygale.org/~cotting
-------------------------------------------
Some code is taken out of other plug-ins
written by other authors.
-------------------------------------------
-------------------------------------------
INSTALLATION
-------------------------------------------
To install it, you have to edit the
Makefile (change install-path).
Afterwards run make. This will compile
and install the plug-in in the right
directory. Once the new code is installed,
you can run the GIMP and enjoy the new
functions and effects it provides.
-------------------------------------------
-------------------------------------------
REDUCE CODE SIZE
-------------------------------------------
With this new release 1.01 the size of
the logo in the about box has been reduced
in order to make smaller binaries. In
general the compiled plug-in will be
about 25-30% of the size of version 1.00.
If you find that the plug-in is still
too big, you can compress the executables
with the gzexe program (if it is avaiable
on your system). To do so, change to the
plug-in directory of the GIMP...
cd /usr/local/lib/gimp/VERSION/plug-ins
...and execute the command...
gzexe PLUGIN_NAME
...and remember to remove the uncompres-
sed binary, which has been renamed to
PLUGIN_NAME~, by running the command:
rm PLUGIN_NAME~
This will result in a code size of about
35 to 40 kB, which isn't too much IMHO.
------------------------------------------
------------------------------------------
FEEDBACK
------------------------------------------
I'm interested in any feedback, comments,
bug-reports, suggestions etc. If you
have anything you would like to tell
me, you can write to cotting@mygale.org.
Also have a look at the GIMP-section of
my homepage at www.mygale.org/~cotting.
------------------------------------------
Thank you and happy GIMPing!
Daniel Cotting
------------------------------------------
\ No newline at end of file
-------------------------------------------
GIMP-Plug-In
-------------------------------------------
Written by Daniel Cotting
Bahnhofstrasse 31
CH-3066 Stettlen (Switzerland)
cotting@mygale.org
www.mygale.org/~cotting
-------------------------------------------
Some code is taken out of other plug-ins
written by other authors.
-------------------------------------------
-------------------------------------------
INSTALLATION
-------------------------------------------
To install it, you have to edit the
Makefile (change install-path).
Afterwards run make. This will compile
and install the plug-in in the right
directory. Once the new code is installed,
you can run the GIMP and enjoy the new
functions and effects it provides.
-------------------------------------------
-------------------------------------------
REDUCE CODE SIZE
-------------------------------------------
With this new release 1.01 the size of
the logo in the about box has been reduced
in order to make smaller binaries. In
general the compiled plug-in will be
about 25-30% of the size of version 1.00.
If you find that the plug-in is still
too big, you can compress the executables
with the gzexe program (if it is avaiable
on your system). To do so, change to the
plug-in directory of the GIMP...
cd /usr/local/lib/gimp/VERSION/plug-ins
...and execute the command...
gzexe PLUGIN_NAME
...and remember to remove the uncompres-
sed binary, which has been renamed to
PLUGIN_NAME~, by running the command:
rm PLUGIN_NAME~
This will result in a code size of about
35 to 40 kB, which isn't too much IMHO.
------------------------------------------
------------------------------------------
FEEDBACK
------------------------------------------
I'm interested in any feedback, comments,
bug-reports, suggestions etc. If you
have anything you would like to tell
me, you can write to cotting@mygale.org.
Also have a look at the GIMP-section of
my homepage at www.mygale.org/~cotting.
------------------------------------------
Thank you and happy GIMPing!
Daniel Cotting