Skip to content

refactor: Set string properties use g_set_str()

Liu Yuyang requested to merge reverland/gnome-builder:g_set_str into main

String properties can use g_set_str to reduce redundancy.

This commit replace all g_strcmp0 like string property setting with new gnome api g_set_str.

Close #1892 (closed)

I checked, with these regexes

  • g_strcmp0\s*\(.*->.*!=
  • ide_str_equal0\s*\(.*->.*
  • ide_set_string
Edited by Liu Yuyang

Merge request reports