diff options
author | Ross Burton <ross.burton@intel.com> | 2019-06-24 17:27:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-27 12:20:36 +0100 |
commit | e58f930df5a22ee42c27cff0ca12bc9bf961b74b (patch) | |
tree | 30078a870ad6cc214147aeead54641e6222e563e /meta/classes/gtk-icon-cache.bbclass | |
parent | b111ac57aebd9928765b9bb8ee2fb4eb3c74972a (diff) | |
download | poky-e58f930df5a22ee42c27cff0ca12bc9bf961b74b.tar.gz |
gtk-icon-cache: rename intercept to update_gtk_icon_cache
The intercept is called update_icon_cache which is vague: rename to
update_gtk_icon_cache to make it clearer what it is for, and add a comment
explaining what class caused it to be used.
(From OE-Core rev: 3158adbe684890adc56af11e19af872e90e09d41)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-icon-cache.bbclass')
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 66fe781bd2..91cb4ad409 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -6,7 +6,7 @@ PACKAGE_WRITE_DEPS += "gtk+3-native gdk-pixbuf-native" | |||
6 | 6 | ||
7 | gtk_icon_cache_postinst() { | 7 | gtk_icon_cache_postinst() { |
8 | if [ "x$D" != "x" ]; then | 8 | if [ "x$D" != "x" ]; then |
9 | $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ | 9 | $INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \ |
10 | mlprefix=${MLPREFIX} \ | 10 | mlprefix=${MLPREFIX} \ |
11 | libdir_native=${libdir_native} | 11 | libdir_native=${libdir_native} |
12 | else | 12 | else |
@@ -24,7 +24,7 @@ fi | |||
24 | 24 | ||
25 | gtk_icon_cache_postrm() { | 25 | gtk_icon_cache_postrm() { |
26 | if [ "x$D" != "x" ]; then | 26 | if [ "x$D" != "x" ]; then |
27 | $INTERCEPT_DIR/postinst_intercept update_icon_cache ${PKG} \ | 27 | $INTERCEPT_DIR/postinst_intercept update_gtk_icon_cache ${PKG} \ |
28 | mlprefix=${MLPREFIX} \ | 28 | mlprefix=${MLPREFIX} \ |
29 | libdir=${libdir} | 29 | libdir=${libdir} |
30 | else | 30 | else |