summaryrefslogtreecommitdiff
path: root/frontends/gtk/download.c
Commit message (Collapse)AuthorAgeFilesLines
* GTK: Squash GCC8.2 warning.Michael Drake2018-11-031-2/+14
| | | | | | | frontends/gtk/download.c: In function ‘gui_download_window_create’: frontends/gtk/download.c:829:10: warning: cast between incompatible function types from ‘gboolean (*)(gboolean)’ {aka ‘int (*)(int)’} to ‘gboolean (*)(void *)’ {aka ‘int (*)(void *)’} [-Wcast-function-type] (GSourceFunc) nsgtk_download_update, FALSE); ^
* GTK: Make nsgtk_download_selection_action match GFunc prototype.Michael Drake2018-11-031-4/+10
| | | | | | | | | | Squashes GCC 8.2 warning: frontends/gtk/download.c:244:22: warning: cast between incompatible function types from ‘nsgtk_download_selection_action’ {aka ‘void (*)(struct gui_download_window *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach(dls, (GFunc)action, NULL); ^
* GTK: Squash a couple of warnings from GCC 8.2.Michael Drake2018-11-031-2/+22
| | | | | | | | | | | | | frontends/gtk/download.c: In function ‘nsgtk_download_do’: frontends/gtk/download.c:238:24: warning: cast between incompatible function types from ‘void (*)(GtkTreePath *)’ {aka ‘void (*)(struct _GtkTreePath *)’} to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach(rows, (GFunc)gtk_tree_path_free, NULL); ^ frontends/gtk/download.c:239:24: warning: cast between incompatible function types from ‘void (*)(void *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type] g_list_foreach(rows, (GFunc)g_free, NULL); ^
* Squash remaining GCC7 -Wimplicit-fallthrough warnings.Michael Drake2017-10-231-0/+2
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* move download header into public APIVincent Sanders2016-05-301-1/+1
|
* move frontends into sub directoryVincent Sanders2016-05-151-0/+865