summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 284ceb1)
raw | patch | inline | side by side (parent: 284ceb1)
author | gustav_b <gustav_b@users.sourceforge.net> | |
Sun, 7 Jan 2007 23:37:47 +0000 (23:37 +0000) | ||
committer | gustav_b <gustav_b@users.sourceforge.net> | |
Sun, 7 Jan 2007 23:37:47 +0000 (23:37 +0000) |
src/display/sp-canvas.cpp | patch | blob | history |
index 3247a3e1f6692df3d3bcc2b254021573f79dbf3f..bee5dfc3f3ed8b9802be35621df169ef0d45a213 100644 (file)
if ( prefs_get_int_attribute ("options.useextinput", "value", 1) )
gtk_widget_set_events(widget, attributes.event_mask);
+ widget->style = gtk_style_attach (widget->style, widget->window);
+
GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
canvas->pixmap_gc = gdk_gc_new (SP_CANVAS_WINDOW (canvas));