Skip to content

Misc patches#550

Merged
tsipinakis merged 13 commits into
dunst-project:masterfrom
bebehei:misc
Oct 10, 2018
Merged

Misc patches#550
tsipinakis merged 13 commits into
dunst-project:masterfrom
bebehei:misc

Conversation

@bebehei
Copy link
Copy Markdown
Member

@bebehei bebehei commented Oct 1, 2018

Just some miscellaneous changes, accumulated over the past weeks.

TBH, the libxdg removal came out of the blue. I found out today about the g_get_user_config_dir function, which makes libxdg-basedir irrelevant.

The blame reveals commit 820cfe7, which introduced printing of
notifications similar to notification_print(). The fflush call is still
left over since porting the printfs into their dedicated method.

As notification_print() is called after this fflush() call, it's not
necessary anymore.
Comment thread src/settings.c Outdated
Copy link
Copy Markdown
Member

@tsipinakis tsipinakis left a comment

Choose a reason for hiding this comment

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

Missed a few stuff, and found some more in the meantime!

Comment thread src/icon.c Outdated
Comment thread CHANGELOG.md
Comment thread src/utils.h Outdated
GLib's g_get_user_config_dir function does exactly the same thing and
we don't need libxdg-basedir for something else.
@bebehei bebehei force-pushed the misc branch 2 times, most recently from d1575f8 to 1c61106 Compare October 5, 2018 22:45
@bebehei bebehei requested a review from tsipinakis October 6, 2018 06:47
tsipinakis
tsipinakis previously approved these changes Oct 6, 2018
Comment thread src/utils.h Outdated
And also use g_strndup. This makes allocation easier and also ensures a
null-byte at the end of the string.
Comment thread src/log.c Outdated
Output first, then all required objects and then the FLAGS
Copy link
Copy Markdown
Member

@tsipinakis tsipinakis left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@tsipinakis tsipinakis merged commit f12f109 into dunst-project:master Oct 10, 2018
@bebehei bebehei deleted the misc branch November 18, 2018 19: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.

2 participants