diff options
author | Laszlo Boros <[email protected]> | 2013-08-18 01:26:29 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-10-17 12:28:11 +0200 |
commit | 1e9954cbc51fc67b1e34cd6dd8f0a77a360eb4c8 (patch) | |
tree | 0051295b73ee5aa6caa0210e6a3ac7af11edf674 /src/eom-print-preview.c | |
parent | 7a364394044201fbd23a9fc5e152f512d24fd876 (diff) | |
download | eom-1e9954cbc51fc67b1e34cd6dd8f0a77a360eb4c8.tar.bz2 eom-1e9954cbc51fc67b1e34cd6dd8f0a77a360eb4c8.tar.xz |
GTK3 support
Diffstat (limited to 'src/eom-print-preview.c')
-rw-r--r-- | src/eom-print-preview.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eom-print-preview.c b/src/eom-print-preview.c index 8b6f154..0e85ae6 100644 --- a/src/eom-print-preview.c +++ b/src/eom-print-preview.c @@ -1053,9 +1053,15 @@ eom_print_preview_draw (EomPrintPreview *preview, cairo_t *cr) } if (has_focus) { + #if GTK_CHECK_VERSION(3, 0, 0) + gtk_paint_focus (style, cr, + GTK_STATE_NORMAL, NULL, NULL, + 0, 0, allocation.width, allocation.height); + #else gtk_paint_focus (style, gtk_widget_get_window (area), GTK_STATE_NORMAL, NULL, NULL, NULL, 0, 0, allocation.width, allocation.height); + #endif } } |