[gtk+] Remove _gtk_widget_get_cursor_gc() function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove _gtk_widget_get_cursor_gc() function
- Date: Mon, 26 Jul 2010 14:54:21 +0000 (UTC)
commit 9bac13b1f5c32850f913edd6bdc11c086d233f05
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 836de8a..e0f3bcd 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -6166,14 +6166,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 3a09e97..debd77b 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -748,7 +748,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]