summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2017-04-22 20:10:47 +0200
committerCarlos Soriano <csoriano@gnome.org>2017-04-22 22:14:27 +0200
commitbebae404ddefd1f243a68d61f5db097fc15b50b4 (patch)
treef02bd385a7a22142573bcd1eb9a1b298925d6c3f
parent2d6378e28013ebcdaaeaf348d385d717875bf3a2 (diff)
downloadnautilus-bebae404ddefd1f243a68d61f5db097fc15b50b4.tar.gz
gtk-code-generator: Pull from 3.22 branch
We were pulling from gtk4 branch which will make the code to not work.
-rwxr-xr-xsrc/gtk/gtk-code-generator.sh13
1 files 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"