summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"