eel r2066 - in trunk: . eel
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: eel r2066 - in trunk: . eel
- Date: Thu, 21 Feb 2008 13:12:57 +0000 (GMT)
Author: cosimoc
Date: Thu Feb 21 13:12:57 2008
New Revision: 2066
URL: http://svn.gnome.org/viewvc/eel?rev=2066&view=rev
Log:
2008-02-21 Cosimo Cecchi <cosimoc gnome org>
* eel/eel-background.c: (eel_background_ensure_realized):
Better fix for bug #517681.
Modified:
trunk/ChangeLog
trunk/eel/eel-background.c
Modified: trunk/eel/eel-background.c
==============================================================================
--- trunk/eel/eel-background.c (original)
+++ trunk/eel/eel-background.c Thu Feb 21 13:12:57 2008
@@ -276,6 +276,7 @@
static gboolean
eel_background_ensure_realized (EelBackground *background, GdkWindow *window)
{
+ gpointer data;
GtkWidget *widget;
GtkStyle *style;
gboolean changed;
@@ -291,7 +292,8 @@
/* Set the default color */
/* Get the widget to which the window belongs and its style as well */
- gdk_window_get_user_data (window, &widget);
+ gdk_window_get_user_data (window, &data);
+ widget = GTK_WIDGET (data);
if (widget != NULL) {
style = gtk_widget_get_style (widget);
if (background->details->use_base) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]