[gtk+/refactor: 79/145] gtk/gtkcolorbutton.c: use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 79/145] gtk/gtkcolorbutton.c: use accessor functions to access GtkWidget
- Date: Tue, 17 Aug 2010 18:10:06 +0000 (UTC)
commit 5c095e83eff3ad17ccdf2c9852dcdcd4b23dcb0c
Author: Javier Jardón <jjardon gnome org>
Date: Wed Aug 11 23:15:02 2010 +0200
gtk/gtkcolorbutton.c: use accessor functions to access GtkWidget
gtk/gtkcolorbutton.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c
index d977081..0fc7bee 100644
--- a/gtk/gtkcolorbutton.c
+++ b/gtk/gtkcolorbutton.c
@@ -309,7 +309,7 @@ expose_event (GtkWidget *widget,
if (!gtk_widget_is_sensitive (GTK_WIDGET (color_button)))
{
- gdk_cairo_set_source_color (cr, >K_WIDGET(color_button)->style->bg[GTK_STATE_INSENSITIVE]);
+ gdk_cairo_set_source_color (cr, >k_widget_get_style (GTK_WIDGET(color_button))->bg[GTK_STATE_INSENSITIVE]);
checkered = gtk_color_button_get_checkered ();
cairo_mask (cr, checkered);
cairo_pattern_destroy (checkered);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]