Commit dc3d7403 authored by Sven Neumann's avatar Sven Neumann

plugged a memleak

        * app/ink.c: plugged a memleak

        * app/xinput_airbrush.c; make it compile w/o patch_xinput_airbrush

--Sven
parent 9c7a13b6
Sun Nov 14 23:47:10 MET 1999 Sven Neumann <sven.gimp.org>
* app/ink.c: plugged a memleak
* app/xinput_airbrush.c; make it compile w/o patch_xinput_airbrush
Sun Nov 14 22:50:32 MET 1999 Sven Neumann <sven.gimp.org>
* libgimp/gimpui.h: include all header files that belong to
......
......@@ -697,6 +697,7 @@ blob_pixmap (GdkColormap *colormap,
gdk_draw_rectangle (pixmap, black_gc, FALSE, 0, 0, 21, 20);
blob = (*function) (10, 10, 8, 0, 0, 8);
paint_blob (pixmap, black_gc, blob);
g_free (blob);
gdk_gc_unref (white_gc);
gdk_gc_unref (black_gc);
......
......@@ -697,6 +697,7 @@ blob_pixmap (GdkColormap *colormap,
gdk_draw_rectangle (pixmap, black_gc, FALSE, 0, 0, 21, 20);
blob = (*function) (10, 10, 8, 0, 0, 8);
paint_blob (pixmap, black_gc, blob);
g_free (blob);
gdk_gc_unref (white_gc);
gdk_gc_unref (black_gc);
......
......@@ -697,6 +697,7 @@ blob_pixmap (GdkColormap *colormap,
gdk_draw_rectangle (pixmap, black_gc, FALSE, 0, 0, 21, 20);
blob = (*function) (10, 10, 8, 0, 0, 8);
paint_blob (pixmap, black_gc, blob);
g_free (blob);
gdk_gc_unref (white_gc);
gdk_gc_unref (black_gc);
......
......@@ -697,6 +697,7 @@ blob_pixmap (GdkColormap *colormap,
gdk_draw_rectangle (pixmap, black_gc, FALSE, 0, 0, 21, 20);
blob = (*function) (10, 10, 8, 0, 0, 8);
paint_blob (pixmap, black_gc, blob);
g_free (blob);
gdk_gc_unref (white_gc);
gdk_gc_unref (black_gc);
......
......@@ -483,7 +483,7 @@ static XinputAirbrushOptions *
gtk_widget_show (label);
options->height_w =
gtk_adjustment_new (options->minheight_d, 5.0 , 61.0, 1.0, 1.0, 1.0);
gtk_adjustment_new (options->height_d, 5.0 , 61.0, 1.0, 1.0, 1.0);
slider = gtk_hscale_new (GTK_ADJUSTMENT (options->height_w));
gtk_scale_set_value_pos (GTK_SCALE (slider), GTK_POS_TOP);
gtk_table_attach_defaults (GTK_TABLE (table), slider, 1, 2, 7, 8);
......
......@@ -483,7 +483,7 @@ static XinputAirbrushOptions *
gtk_widget_show (label);
options->height_w =
gtk_adjustment_new (options->minheight_d, 5.0 , 61.0, 1.0, 1.0, 1.0);
gtk_adjustment_new (options->height_d, 5.0 , 61.0, 1.0, 1.0, 1.0);
slider = gtk_hscale_new (GTK_ADJUSTMENT (options->height_w));
gtk_scale_set_value_pos (GTK_SCALE (slider), GTK_POS_TOP);
gtk_table_attach_defaults (GTK_TABLE (table), slider, 1, 2, 7, 8);
......
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