Permalink
Browse files

Fix the scim_string_view_draw() bug for gtk >= 3.20

  • Loading branch information...
1 parent cf3d243 commit 6ac4af3bfd36294caf4a3d137fef4fc6c922acdd @tzhuan tzhuan committed Apr 23, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 utils/scimstringview.c
@@ -941,7 +941,7 @@ scim_string_view_expose (GtkWidget *widget,
#if GTK_CHECK_VERSION(3, 0, 0)
if (gtk_cairo_should_draw_window (cr, gtk_widget_get_window (widget)))
scim_string_view_draw_frame (widget, cr);
- else if (gtk_cairo_should_draw_window (cr, string_view->text_area))
+ if (gtk_cairo_should_draw_window (cr, string_view->text_area))
#else
#if GTK_CHECK_VERSION(2, 14, 0)
if (gtk_widget_get_window (widget) == event->window)

0 comments on commit 6ac4af3

Please sign in to comment.