diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2017-02-07 18:34:57 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2017-02-07 18:34:57 +0000 |
| commit | 58808234db8381a86518229e176f429f440ff93f (patch) | |
| tree | 09fcd38b2a69d3892c9f81275ef0e5f1140a08c0 /src/display | |
| parent | Default style source to SP_STYLE_SRC_STYLE_PROP. Only set style_src on succes... (diff) | |
| download | inkscape-58808234db8381a86518229e176f429f440ff93f.tar.gz inkscape-58808234db8381a86518229e176f429f440ff93f.zip | |
Fix some new Gdk deprecations
(bzr r15491)
Diffstat (limited to 'src/display')
| -rw-r--r-- | src/display/sp-canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp index 68eae0a65..41d136ee9 100644 --- a/src/display/sp-canvas.cpp +++ b/src/display/sp-canvas.cpp @@ -1034,7 +1034,7 @@ void SPCanvas::handle_realize(GtkWidget *widget) attributes.width = allocation.width; attributes.height = allocation.height; attributes.wclass = GDK_INPUT_OUTPUT; - attributes.visual = gdk_visual_get_system(); + attributes.visual = gdk_screen_get_system_visual(gdk_screen_get_default()); attributes.event_mask = (gtk_widget_get_events (widget) | GDK_EXPOSURE_MASK | |
