mirror of https://github.com/GNOME/gimp.git
Added missing include.
2007-05-30 Mukund Sivaraman <muks@mukund.org> * app/tools/gimpdrawtool.c: Added missing include. * app/tools/gimpbycolorselecttool.c: Removed unused variable. * app/plug-in/gimpenvirontable.c: Added cast for callback function. * plug-ins/script-fu/tinyscheme/scheme.c: Correctly cast pointer to an long integer type. svn path=/trunk/; revision=22659
This commit is contained in:
parent
2e32d33c6d
commit
f67306c1d3
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2007-05-30 Mukund Sivaraman <muks@mukund.org>
|
||||
|
||||
* app/tools/gimpdrawtool.c: Added missing include.
|
||||
|
||||
* app/tools/gimpbycolorselecttool.c: Removed unused variable.
|
||||
|
||||
* app/plug-in/gimpenvirontable.c: Added cast for callback function.
|
||||
|
||||
* plug-ins/script-fu/tinyscheme/scheme.c: Correctly cast pointer to
|
||||
an long integer type.
|
||||
|
||||
2007-05-30 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): set a
|
||||
|
|
|
@ -172,7 +172,8 @@ gimp_environ_table_add (GimpEnvironTable *environ_table,
|
|||
if (! environ_table->internal)
|
||||
environ_table->internal =
|
||||
g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||
g_free, gimp_environ_table_free_value);
|
||||
g_free,
|
||||
(GDestroyNotify) gimp_environ_table_free_value);
|
||||
|
||||
val = g_slice_new (GimpEnvironValue);
|
||||
|
||||
|
|
|
@ -98,7 +98,6 @@ gimp_by_color_select_tool_get_mask (GimpRegionSelectTool *region_select,
|
|||
GimpDrawable *drawable;
|
||||
GimpPickable *pickable;
|
||||
GimpRGB color;
|
||||
guchar *col;
|
||||
gint x, y;
|
||||
|
||||
drawable = gimp_image_active_drawable (display->image);
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "libgimpmath/gimpmath.h"
|
||||
|
|
|
@ -587,7 +587,7 @@ static int alloc_cellseg(scheme *sc, int n) {
|
|||
i = ++sc->last_cell_seg ;
|
||||
sc->alloc_seg[i] = cp;
|
||||
/* adjust in TYPE_BITS-bit boundary */
|
||||
if(((unsigned)cp)%adj!=0) {
|
||||
if (((unsigned long) cp) % adj != 0) {
|
||||
cp=(char*)(adj*((unsigned long)cp/adj+1));
|
||||
}
|
||||
/* insert new segment in address order */
|
||||
|
|
Loading…
Reference in New Issue