Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for FolderModelItem info (and FmPath) #45

Closed
wants to merge 2 commits into from
Closed

Conversation

tsujan
Copy link
Member

@tsujan tsujan commented Oct 2, 2016

This is a shot in the dark to prevent rare crashes (lxqt/pcmanfm-qt#397).

This is a shot in the dark to prevent rare crashes (lxqt/pcmanfm-qt#397).
urilist.append(uri);
urilist.append('\n');
g_free(uri);
if(item->info) {
Copy link
Contributor

@palinek palinek Oct 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about condensing the conditional if (item && item->info) ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I know. I just wanted to emphasize that item->info may be null theoretically (I still don't know if that's possible in practice),

@PCMan
Copy link
Member

PCMan commented Nov 26, 2016

Merged into b577385

@PCMan PCMan closed this Nov 26, 2016
@luis-pereira luis-pereira deleted the check_for_info branch December 2, 2016 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants