[gimp] app: remove gimp_display_shell_set_cursor_style()



commit dd4f27ed4f32ed6199d4915bb11764fcc7a3e5fc
Author: Michael Natterer <mitch gimp org>
Date:   Sat Oct 2 22:11:52 2010 +0200

    app: remove gimp_display_shell_set_cursor_style()

 app/display/gimpdisplayshell-style.c |   11 -----------
 app/display/gimpdisplayshell-style.h |    2 --
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-style.c b/app/display/gimpdisplayshell-style.c
index 7d51232..51753c1 100644
--- a/app/display/gimpdisplayshell-style.c
+++ b/app/display/gimpdisplayshell-style.c
@@ -171,17 +171,6 @@ gimp_display_shell_set_grid_style (GimpDisplayShell *shell,
 }
 
 void
-gimp_display_shell_set_cursor_style (GimpDisplayShell *shell,
-                                     cairo_t          *cr)
-{
-  g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
-  g_return_if_fail (cr != NULL);
-
-  cairo_set_line_width (cr, 1.0);
-  cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
-}
-
-void
 gimp_display_shell_set_pen_style (GimpDisplayShell *shell,
                                   cairo_t          *cr,
                                   GimpContext      *context,
diff --git a/app/display/gimpdisplayshell-style.h b/app/display/gimpdisplayshell-style.h
index 3d0ab18..c24d5b5 100644
--- a/app/display/gimpdisplayshell-style.h
+++ b/app/display/gimpdisplayshell-style.h
@@ -31,8 +31,6 @@ void   gimp_display_shell_set_sample_point_style  (GimpDisplayShell *shell,
 void   gimp_display_shell_set_grid_style          (GimpDisplayShell *shell,
                                                    cairo_t          *cr,
                                                    GimpGrid         *grid);
-void   gimp_display_shell_set_cursor_style        (GimpDisplayShell *shell,
-                                                   cairo_t          *cr);
 void   gimp_display_shell_set_pen_style           (GimpDisplayShell *shell,
                                                    cairo_t          *cr,
                                                    GimpContext      *context,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]