Build with gtk3
This commit is contained in:
committed by
Stéphane Lesimple
parent
a7e1a5591e
commit
e75d73c74a
@@ -44,8 +44,8 @@ static gboolean expose_cb(GtkWidget *widget, GdkEventExpose *event, gpointer dat
|
||||
{ GtkWidget *box = (GtkWidget*)data;
|
||||
|
||||
if(!Closure->colors_initialized)
|
||||
{ GdkColor *bg = &widget->style->bg[0];
|
||||
GdkColormap *cmap = gdk_colormap_get_system();
|
||||
{ GdkColor *bg = >k_widget_get_style(widget)->bg[0];
|
||||
GdkVisual *cmap = gdk_visual_get_system();
|
||||
|
||||
memcpy(Closure->background, bg, sizeof(GdkColor));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user