Skip to content

pathbar: Apply singleton pattern to the PathBar

Leesoo Ahn requested to merge memnoth/nautilus:singleton-pathbar into master

PathBar must guarantee it instantiates itself only once while program running. But currently it can be instantiated multiple times by calling g_object_new. A new method, nautilus_path_bar_get_instance, prevents the situation and it should be called instead of g_object_new.

Merge request reports