Refactor the whole code and also Follow GLib/GTK+ best practices for the order of #include's
Bug #1366510 reported by
Sagar Ghuge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xpad |
Fix Released
|
Wishlist
|
Sagar Ghuge |
Bug Description
See https:/
The most important thing is to first include the corresponding header in a .c
file.
And also No need of function prototype if declaration and callback sequence is maintained neatly.
Will result into less number lines of code.
Related branches
lp:~ghugesss/xpad/refactor_code
- Arthur Borsboom: Approve
-
Diff: 474 lines (+96/-40)23 files modifiedsrc/fio.c (+5/-1)
src/fio.h (+7/-3)
src/help.c (+4/-1)
src/help.h (+3/-3)
src/prefix.c (+2/-0)
src/prefix.h (+3/-3)
src/xpad-app.c (+11/-8)
src/xpad-grip-tool-item.c (+1/-0)
src/xpad-pad-group.c (+1/-0)
src/xpad-pad-properties.c (+4/-1)
src/xpad-pad.c (+4/-2)
src/xpad-periodic.c (+4/-1)
src/xpad-periodic.h (+7/-3)
src/xpad-preferences.c (+4/-2)
src/xpad-session-manager.c (+6/-3)
src/xpad-session-manager.h (+4/-0)
src/xpad-settings.c (+6/-3)
src/xpad-text-buffer.c (+1/-0)
src/xpad-text-view.c (+3/-1)
src/xpad-toolbar.c (+3/-1)
src/xpad-tray.c (+4/-2)
src/xpad-tray.h (+4/-0)
src/xpad-undo.c (+5/-2)
Changed in xpad: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Sagar Ghuge (ghugesss) |
milestone: | none → 4.4 |
status: | New → In Progress |
Changed in xpad: | |
status: | In Progress → Fix Committed |
Changed in xpad: | |
status: | Fix Committed → Fix Released |
Changed in xpad: | |
status: | In Progress → Fix Committed |
Changed in xpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
I have created a patch upon sagar's changes.
This patch contains the changes which are related to fixing the indentation and spacing in source code.