[gtk+/rendering-cleanup: 68/89] Remove _gtk_widget_get_cursor_gc() function



commit d1657eb93ccdf912e06bce6abd386bb8d4f5bb12
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jul 15 14:53:42 2010 +0200

    Remove _gtk_widget_get_cursor_gc() function
    
    It's unused now.

 gtk/gtkstyle.c |    8 --------
 gtk/gtkstyle.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index ca24821..039dd23 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -5837,14 +5837,6 @@ get_insertion_cursor_gc (GtkWidget *widget,
     }
 }
 
-GdkGC *
-_gtk_widget_get_cursor_gc (GtkWidget *widget)
-{
-  g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
-  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
-  return get_insertion_cursor_gc (widget, TRUE);
-}
-
 void
 _gtk_widget_get_cursor_color (GtkWidget *widget,
 			      GdkColor  *color)
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index 42ab8bf..fffdff9 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -728,7 +728,6 @@ void   gtk_draw_insertion_cursor    (GtkWidget          *widget,
                                      gboolean            is_primary,
                                      GtkTextDirection    direction,
                                      gboolean            draw_arrow);
-GdkGC *_gtk_widget_get_cursor_gc    (GtkWidget          *widget);
 void   _gtk_widget_get_cursor_color (GtkWidget          *widget,
 				     GdkColor           *color);
 



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