From 480af4c76377ac7fd4dd38427e1166079164ca5f Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Tue, 7 Dec 2004 22:28:17 +0000 Subject: [PATCH] 2004-12-07 Mike Kestner * gtk/glue/style.c : add missing method and prototype. [Fixes #70216] svn path=/trunk/gtk-sharp/; revision=37350 --- ChangeLog | 4 ++++ gtk/glue/style.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 21ad26baf..998d79b46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-12-07 Mike Kestner + + * gtk/glue/style.c : add missing method and prototype. [Fixes #70216] + 2004-12-07 Mike Kestner * */*.cs : s/glue-2.0/glue-2 so that dllimport works on win32. diff --git a/gtk/glue/style.c b/gtk/glue/style.c index f94f52f42..8bd566b27 100644 --- a/gtk/glue/style.c +++ b/gtk/glue/style.c @@ -67,6 +67,8 @@ GdkColor *gtksharp_gtk_style_get_fg (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_bg (GtkStyle *style, int i); +GdkColor *gtksharp_gtk_style_get_mid (GtkStyle *style, int i); + GdkColor *gtksharp_gtk_style_get_text (GtkStyle *style, int i); GdkColor *gtksharp_gtk_style_get_base (GtkStyle *style, int i); @@ -229,6 +231,12 @@ gtksharp_gtk_style_get_mid (GtkStyle *style, int i) return &style->mid[i]; } +GdkColor* +gtksharp_gtk_style_get_text (GtkStyle *style, int i) +{ + return &style->text[i]; +} + GdkColor* gtksharp_gtk_style_get_base (GtkStyle *style, int i) {