diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-11-25 12:49:16 -0500 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:46 +0100 |
commit | 757837b611e4dfb746892ef102ec63062fffcb21 (patch) | |
tree | da0e172bad51458c227d4deec5225c99e0be8ca9 /tests/testtooltips.c | |
parent | 9b1118a35db12cafa0f9587f8748eac232a624e0 (diff) | |
download | gtk+-757837b611e4dfb746892ef102ec63062fffcb21.tar.gz |
Make tests compile without using GtkStyle api
Diffstat (limited to 'tests/testtooltips.c')
-rw-r--r-- | tests/testtooltips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testtooltips.c b/tests/testtooltips.c index 9cb1fcc055..54c2e05b88 100644 --- a/tests/testtooltips.c +++ b/tests/testtooltips.c @@ -46,10 +46,10 @@ query_tooltip_custom_cb (GtkWidget *widget, GtkTooltip *tooltip, gpointer data) { - GdkColor color = { 0, 0, 65535 }; + GdkRGBA color = { 0, 0, 1, 1 }; GtkWindow *window = gtk_widget_get_tooltip_window (widget); - gtk_widget_modify_bg (GTK_WIDGET (window), GTK_STATE_NORMAL, &color); + gtk_widget_override_background_color (GTK_WIDGET (window), 0, &color); return TRUE; } |