Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 616412 | Differences between
and this patch

Collapse All | Expand All

(-)a/unix/gtkwin.c (-3 / +2 lines)
Lines 2188-2198 void set_gtk_widget_background(GtkWidget *widget, const GdkColor *col) Link Here
2188
    free(data);
2188
    free(data);
2189
    free(col_css);
2189
    free(col_css);
2190
#else
2190
#else
2191
    if (gtk_widget_get_window(win)) {
2191
    if (gtk_widget_get_window(widget)) {
2192
        /* For GTK1, which doesn't have a 'const' on
2192
        /* For GTK1, which doesn't have a 'const' on
2193
         * gdk_window_set_background's second parameter type. */
2193
         * gdk_window_set_background's second parameter type. */
2194
        GdkColor col_mutable = *col;
2194
        GdkColor col_mutable = *col;
2195
        gdk_window_set_background(gtk_widget_get_window(win), &col_mutable);
2195
        gdk_window_set_background(gtk_widget_get_window(widget), &col_mutable);
2196
    }
2196
    }
2197
#endif
2197
#endif
2198
}
2198
}
2199
- 

Return to bug 616412