GNOME Bugzilla – Bug 768507
[PATCH] simplify qguark functions
Last modified: 2018-02-16 12:53:25 UTC
Created attachment 330986 [details] [review] 0001-gquark-simplify-g_quark_from_static_string-g_quark_f.patch There are some repetitive code in gquark. Those two patches move the common code to an inline wrapper function. The compiled code should be the same but we avoid duplicate code in source.
Created attachment 330987 [details] [review] 0002-gquark-simplify-g_intern_string-g_intern_static_stri.patch Second patch which does the same with g_intern_string and g_intern_static_string.
Review of attachment 330987 [details] [review]: Sure.
Review of attachment 330986 [details] [review]: OK, thanks for the cleanups.
Thanks for the patches. Both pushed to master.