updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mysql-gui-tools / deprecated-gtk-widget-state.patch
blobb3c7d89e0bb6f77c9682aa5c6a5d88b80006784e
1 diff -Nur orig/query-browser/source/linux/gtksourceview/gtksourceview/gtksourceview.c new/query-browser/source/linux/gtksourceview/gtksourceview/gtksourceview.c
2 --- orig/query-browser/source/linux/gtksourceview/gtksourceview/gtksourceview.c 2005-03-13 15:42:26.000000000 +0100
3 +++ new/query-browser/source/linux/gtksourceview/gtksourceview/gtksourceview.c 2011-03-11 12:46:14.000000000 +0100
4 @@ -570,6 +570,7 @@
7 static void
9 marker_updated_cb (GtkSourceBuffer *buffer,
10 GtkTextIter *where,
11 GtkTextView *text_view)
12 @@ -1167,7 +1168,7 @@
14 gtk_paint_layout (GTK_WIDGET (view)->style,
15 win,
16 - GTK_WIDGET_STATE (view),
17 + gtk_widget_get_state(view),
18 FALSE,
19 NULL,
20 GTK_WIDGET (view),
21 @@ -1181,6 +1182,7 @@
23 if (marker_line == g_array_index (numbers, gint, i))
26 /* draw markers for the line */
27 current_marker = draw_line_markers (view,
28 current_marker,
29 @@ -1450,7 +1452,7 @@
31 gtk_paint_vline (widget->style,
32 event->window,
33 - GTK_WIDGET_STATE (widget),
34 + gtk_widget_get_state(widget),
35 &redraw_rect,
36 widget,
37 "margin",