GTK3: gdk_keyboard_grab()/gdk_keyboard_ungrab() is deprecated
GTK3: gdk_threads_enter()/gdk_threads_leave() are deprecated

Relevant Coccinelle patch:
@@
@@
-gdk_threads_enter();

@@
@@
-gdk_threads_leave();
GTK3: gdk_cursor_unref is deprecated

Relevant Coccinelle patch:
@@
@@
-gdk_cursor_unref
+g_object_unref
GTK3: gtk_widget_get_pointer is deprecated
GTK3: gtk_vbox_new is deprecated

Relevant Coccinelle patch (5 unhandled lines were fixed manually):
@@
@@
-gtk_vbox_new(TRUE
+gtk_box_new(GTK_ORIENTATION_VERTICAL
, ...)

@@
@@
-gtk_vbox_new(FALSE
+gtk_box_new(GTK_ORIENTATION_VERTICAL
, ...)

@@
expression E;
@@
-gtk_vbox_new(E, TRUE)
+gtk_box_new(GTK_ORIENTATION_VERTICAL, E)

@@
expression E;
@@
-gtk_vbox_new(E, FALSE)
+gtk_box_new(GTK_ORIENTATION_VERTICAL, E)
GTK3: gtk_hbox_new is deprecated

Relevant Coccinelle patch (5 unhandled lines were fixed manually):
@@
@@
-gtk_hbox_new(TRUE
+gtk_box_new(GTK_ORIENTATION_HORIZONTAL
, ...)

@@
@@
-gtk_hbox_new(FALSE
+gtk_box_new(GTK_ORIENTATION_HORIZONTAL
, ...)

@@
expression E;
@@
-gtk_hbox_new(E, TRUE)
+gtk_box_new(GTK_ORIENTATION_HORIZONTAL, E)

@@
expression E;
@@
-gtk_hbox_new(E, FALSE)
+gtk_box_new(GTK_ORIENTATION_HORIZONTAL, E)
GTK3: GtkHBox is deprecated
GTK3: GtkVBox is deprecated
GTK3: GTK_HBOX is deprecated
GTK3: GTK_VBOX is deprecated
GTK3: gtk_widget_size_request() is deprecated by gtk_widget_get_preferred_size()

Relevant Coccinelle patch:
@@
expression W, R;
@@
-gtk_widget_size_request(W, R)
+gtk_widget_get_preferred_size(W, R, NULL)
GTK3: gtk_widget_set_state is deprecated

Relevant Coccinelle patch:
@@
expression E1, E2;
@@
-gtk_widget_set_state(E1, E2)
+gtk_widget_set_state_flags(E1, E2, TRUE)

@@
@@
-GTK_STATE_NORMAL
+GTK_STATE_FLAG_NORMAL

@@
@@
-GTK_STATE_ACTIVE
+GTK_STATE_FLAG_ACTIVE

@@
@@
-GTK_STATE_PRELIGHT
+GTK_STATE_FLAG_PRELIGHT

@@
@@
-GTK_STATE_SELECTED
+GTK_STATE_FLAG_SELECTED

@@
@@
-GTK_STATE_INSENSITIVE
+GTK_STATE_FLAG_INSENSITIVE

@@
@@
-GTK_STATE_INCONSISTENT
+GTK_STATE_FLAG_INCONSISTENT

@@
@@
-GTK_STATE_FOCUSED
+GTK_STATE_FLAG_FOCUSED
GTK3: gtk_paint_box format has changed
TODO: gtk_paint_box is deprecated

Relevant Coccinelle patch:
@@
expression STYLE, W, STATE, ST, WG, DEL, STR, X, Y, WD, HT;
@@
gtk_paint_box(
STYLE,
-W,
+gdk_cairo_create(W),
STATE,
ST,
-DEL,
WG,
STR,
X,
Y,
WD,
HT)
GTK3: size_request is now get_preferred_(width,height)