From bebae404ddefd1f243a68d61f5db097fc15b50b4 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Sat, 22 Apr 2017 20:10:47 +0200 Subject: gtk-code-generator: Pull from 3.22 branch We were pulling from gtk4 branch which will make the code to not work. --- src/gtk/gtk-code-generator.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gtk/gtk-code-generator.sh b/src/gtk/gtk-code-generator.sh index 0749a272f..c740053ba 100755 --- a/src/gtk/gtk-code-generator.sh +++ b/src/gtk/gtk-code-generator.sh @@ -7,6 +7,7 @@ URL=https://git.gnome.org/browse/gtk+/plain/gtk/ URLUI=https://git.gnome.org/browse/gtk+/plain/gtk/ui/ +SUFIX=?h=gtk-3-22 # Since comments are not allowed inside the sed line, this is what it will do # by order: @@ -46,9 +47,9 @@ update_file () { > "${_dest}" } -update_file "${URL}/gtkplacesview.c" "nautilusgtkplacesview.c" -update_file "${URL}/gtkplacesviewprivate.h" "nautilusgtkplacesviewprivate.h" -update_file "${URLUI}/gtkplacesview.ui" "nautilusgtkplacesview.ui" +update_file "${URL}/gtkplacesview.c${SUFIX}" "nautilusgtkplacesview.c" +update_file "${URL}/gtkplacesviewprivate.h${SUFIX}" "nautilusgtkplacesviewprivate.h" +update_file "${URLUI}/gtkplacesview.ui${SUFIX}" "nautilusgtkplacesview.ui" # Since comments are not allowed inside the sed line, this is what it will do # by order: @@ -85,6 +86,6 @@ update_file () { > "${_dest}" } -update_file "${URL}/gtkplacesviewrow.c" "nautilusgtkplacesviewrow.c" -update_file "${URL}/gtkplacesviewrowprivate.h" "nautilusgtkplacesviewrowprivate.h" -update_file "${URLUI}/gtkplacesviewrow.ui" "nautilusgtkplacesviewrow.ui" +update_file "${URL}/gtkplacesviewrow.c${SUFIX}" "nautilusgtkplacesviewrow.c" +update_file "${URL}/gtkplacesviewrowprivate.h${SUFIX}" "nautilusgtkplacesviewrowprivate.h" +update_file "${URLUI}/gtkplacesviewrow.ui${SUFIX}" "nautilusgtkplacesviewrow.ui" -- cgit v1.2.1