diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-11-15 23:41:13 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-11-15 23:41:13 -0500 |
commit | fbb18efbc7042e4e6f82908c3d556cdfdf25f67f (patch) | |
tree | e684e72845bf478d878a1c5da66c43559e0ed124 | |
parent | 3e2af1c2ba6450075f0315a5230015853b97f87d (diff) | |
download | eog-gtk-style-context.tar.gz |
Make build with GtkStyleContextgtk-style-context
Initial attempt to port from gtk_paint_ to gtk_render_
-rw-r--r-- | src/eog-print-preview.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eog-print-preview.c b/src/eog-print-preview.c index 608ed71d..eab96c7a 100644 --- a/src/eog-print-preview.c +++ b/src/eog-print-preview.c @@ -1049,9 +1049,9 @@ eog_print_preview_draw (EogPrintPreview *preview, cairo_t *cr) } if (has_focus) { - gtk_paint_focus (style, cr, - GTK_STATE_NORMAL, NULL, NULL, - 0, 0, allocation.width, allocation.height); + gtk_render_focus (gtk_widget_get_style_context (area), + cr, + 0, 0, allocation.width, allocation.height); } } |