1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-29 02:56:11 +00:00
transmission/gtk
Daniel Kamil Kozar 79e8bc5c46
Remove unnecessary "id" member of TrNotification in gtk/notify.c (#851)
The "id" member's only purpose is to serve as the key for the
active_notifications hash table. However, the same thing can be very easily
achieved by switching the GHashTable's hash/equal functions to "direct", which
just use the void pointers (which all keys are in a GHashTable) directly as if
they were values, and use GUINT_TO_POINTER() when referring to this hash table's
key.

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
2021-08-08 00:24:11 +03:00
..
icons Remove autotools-based build system (#1465) 2020-10-13 03:15:19 +03:00
screenshots lossless compression of images saved 72KB 2017-06-03 23:52:34 +01:00
actions.c Switch from UNUSED macro to TR_UNUSED macro 2020-08-18 14:19:55 +03:00
actions.h Code style change leftovers 2017-04-21 10:40:57 +03:00
CMakeLists.txt refactor: use GTest for running tests (#1383) 2020-08-11 13:11:55 -05:00
conf.c refactor: torrent-complete-sound-command is a list (#1710) 2021-05-25 11:21:41 -05:00
conf.h refactor: torrent-complete-sound-command is a list (#1710) 2021-05-25 11:21:41 -05:00
details.c refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
details.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
dialogs.c chore: fix deprecation warnings of GTK_STOCK_ use. (#1370) 2020-07-27 12:49:45 -05:00
dialogs.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
favicon.c Reformat affected code after recent changes 2020-08-18 20:31:06 +03:00
favicon.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
file-list.c refactor: fix more sonarcloud warnings (#1509) 2020-11-08 13:54:40 -06:00
file-list.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
filter.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
filter.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
hig.c chore: fix compiler warnings (#1412) 2020-08-27 18:41:26 -05:00
hig.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
icons.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
icons.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
main.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
makemeta-ui.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
makemeta-ui.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
msgwin.c fix: resolve some lgtm warnings (#1444) 2020-09-11 16:07:45 -05:00
msgwin.h Code style change leftovers 2017-04-21 10:40:57 +03:00
my-valgrind.sh Refactor shell scripts with syntax and styling fixes 2019-01-16 03:22:29 +08:00
notify.c Remove unnecessary "id" member of TrNotification in gtk/notify.c (#851) 2021-08-08 00:24:11 +03:00
notify.h Align type qualifiers to the right (code style) 2017-04-20 19:53:20 +03:00
open-dialog.c chore: fix deprecation warnings of GTK_STOCK_ use. (#1370) 2020-07-27 12:49:45 -05:00
open-dialog.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
ratio.svg
relocate.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
relocate.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
stats.c chore: sonarcloud warnings 2 (#1496) 2020-11-01 15:47:57 -06:00
stats.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
torrent-cell-renderer.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
torrent-cell-renderer.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
tr-core.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
tr-core.h Code style change leftovers 2017-04-21 10:40:57 +03:00
tr-icon.c Sonarcloud warnings 4 (#1499) 2020-11-02 09:16:12 -06:00
tr-icon.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
tr-prefs.c refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
tr-prefs.h refactor: torrent-complete-sound-command is a list (#1710) 2021-05-25 11:21:41 -05:00
tr-window.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
tr-window.h Adjust uncrustify config, reformat all but Mac client 2017-04-20 10:01:22 +03:00
transmission-gtk.1 fixup! (trunk) update credits (#1205) 2020-05-02 11:42:18 -05:00
transmission-gtk.appdata.xml.in cmake: replace intltool with gettext 2018-04-18 09:25:13 +00:00
transmission-gtk.desktop.in cmake: replace intltool with gettext 2018-04-18 09:25:13 +00:00
transmission-ui.xml
transmission.gresource.xml icon: update application icon (#1141) 2020-04-25 20:01:49 -05:00
transmission.ico
transmission.png
transmission.rc
util.c sonarcloud warnings 9 (#1511) 2020-11-08 21:31:02 -06:00
util.h refactor: fix more sonarcloud warnings (#1508) 2020-11-05 16:46:21 -06:00
utilities.png lossless compression of images saved 72KB 2017-06-03 23:52:34 +01:00