[gimp] app: remove gimp_brush_spacing_changed(), it should never have been public
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove gimp_brush_spacing_changed(), it should never have been public
- Date: Tue, 5 Apr 2011 17:10:40 +0000 (UTC)
commit c8c1b4ece67cb9515b98d4c664887aef4034d616
Author: Michael Natterer <mitch gimp org>
Date: Tue Apr 5 19:09:56 2011 +0200
app: remove gimp_brush_spacing_changed(), it should never have been public
app/core/gimpbrush.c | 10 +---------
app/core/gimpbrush.h | 1 -
2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/app/core/gimpbrush.c b/app/core/gimpbrush.c
index efb36d7..9477a02 100644
--- a/app/core/gimpbrush.c
+++ b/app/core/gimpbrush.c
@@ -601,15 +601,7 @@ gimp_brush_set_spacing (GimpBrush *brush,
{
brush->spacing = spacing;
- gimp_brush_spacing_changed (brush);
+ g_signal_emit (brush, brush_signals[SPACING_CHANGED], 0);
g_object_notify (G_OBJECT (brush), "spacing");
}
}
-
-void
-gimp_brush_spacing_changed (GimpBrush *brush)
-{
- g_return_if_fail (GIMP_IS_BRUSH (brush));
-
- g_signal_emit (brush, brush_signals[SPACING_CHANGED], 0);
-}
diff --git a/app/core/gimpbrush.h b/app/core/gimpbrush.h
index 99db5f5..90e9b62 100644
--- a/app/core/gimpbrush.h
+++ b/app/core/gimpbrush.h
@@ -134,7 +134,6 @@ TempBuf * gimp_brush_get_pixmap (const GimpBrush *brush);
gint gimp_brush_get_spacing (const GimpBrush *brush);
void gimp_brush_set_spacing (GimpBrush *brush,
gint spacing);
-void gimp_brush_spacing_changed (GimpBrush *brush);
#endif /* __GIMP_BRUSH_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]