projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315b991
)
Fixed GTK3 compile error (#67).
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 8 Mar 2014 12:49:47 +0000
(13:49 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 8 Mar 2014 12:49:47 +0000
(13:49 +0100)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
f6cbfd8
..
ec0ff3f
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-658,7
+658,7
@@
static void init_core(void)
#ifdef FEATURE_HIGH_DPI
/* fix for high dpi displays */
- GdkScreen *screen = gdk_window_get_screen(
GTK_WIDGET(vb.gui.window)->window
);
+ GdkScreen *screen = gdk_window_get_screen(
gtk_widget_get_window(vb.gui.window)
);
gdouble dpi = gdk_screen_get_resolution(screen);
if (dpi != -1) {
WebKitWebSettings *setting = webkit_web_view_get_settings(gui->webview);