mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
clean up gtk gui header usage and includes
This commit is contained in:
parent
d513d6261a
commit
de09dc8efd
@ -27,11 +27,11 @@
|
|||||||
#include "utils/utils.h"
|
#include "utils/utils.h"
|
||||||
#include "utils/messages.h"
|
#include "utils/messages.h"
|
||||||
#include "utils/nsoption.h"
|
#include "utils/nsoption.h"
|
||||||
|
#include "utils/nsurl.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
#include "desktop/version.h"
|
#include "desktop/version.h"
|
||||||
|
|
||||||
#include "gtk/compat.h"
|
#include "gtk/compat.h"
|
||||||
#include "gtk/gui.h"
|
|
||||||
#include "gtk/about.h"
|
#include "gtk/about.h"
|
||||||
|
|
||||||
#define ABOUT_RESPONSE_ID_LICENCE 1
|
#define ABOUT_RESPONSE_ID_LICENCE 1
|
||||||
|
@ -20,13 +20,14 @@
|
|||||||
* Cookies (implementation).
|
* Cookies (implementation).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
|
#include "utils/log.h"
|
||||||
#include "desktop/cookie_manager.h"
|
#include "desktop/cookie_manager.h"
|
||||||
#include "desktop/plotters.h"
|
#include "desktop/plotters.h"
|
||||||
#include "desktop/tree.h"
|
#include "desktop/tree.h"
|
||||||
#include "desktop/textinput.h"
|
#include "desktop/textinput.h"
|
||||||
#include "utils/log.h"
|
|
||||||
#include "gtk/gui.h"
|
|
||||||
#include "gtk/cookies.h"
|
#include "gtk/cookies.h"
|
||||||
#include "gtk/plotters.h"
|
#include "gtk/plotters.h"
|
||||||
#include "gtk/scaffolding.h"
|
#include "gtk/scaffolding.h"
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#include "desktop/download.h"
|
#include "desktop/download.h"
|
||||||
#include "desktop/gui_download.h"
|
#include "desktop/gui_download.h"
|
||||||
|
|
||||||
#include "gtk/gui.h"
|
|
||||||
#include "gtk/scaffolding.h"
|
#include "gtk/scaffolding.h"
|
||||||
#include "gtk/download.h"
|
#include "gtk/download.h"
|
||||||
#include "gtk/window.h"
|
#include "gtk/window.h"
|
||||||
|
@ -24,11 +24,13 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
#include "utils/hashtable.h"
|
#include "utils/hashtable.h"
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "utils/filepath.h"
|
#include "utils/filepath.h"
|
||||||
#include "utils/file.h"
|
#include "utils/file.h"
|
||||||
|
#include "utils/nsurl.h"
|
||||||
#include "desktop/gui_fetch.h"
|
#include "desktop/gui_fetch.h"
|
||||||
|
|
||||||
#include "gtk/gui.h"
|
#include "gtk/gui.h"
|
||||||
|
@ -19,11 +19,7 @@
|
|||||||
#ifndef GTK_GUI_H
|
#ifndef GTK_GUI_H
|
||||||
#define GTK_GUI_H
|
#define GTK_GUI_H
|
||||||
|
|
||||||
#include <inttypes.h>
|
struct nsurl;
|
||||||
#include <stdbool.h>
|
|
||||||
#include <gtk/gtk.h>
|
|
||||||
|
|
||||||
#include "utils/nsurl.h"
|
|
||||||
|
|
||||||
/** glade file paths. */
|
/** glade file paths. */
|
||||||
struct glade_file_location_s {
|
struct glade_file_location_s {
|
||||||
@ -70,7 +66,7 @@ extern char **respaths;
|
|||||||
uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *eventkey);
|
uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *eventkey);
|
||||||
|
|
||||||
/** login window request. */
|
/** login window request. */
|
||||||
extern void gui_401login_open(nsurl *url, const char *realm, nserror (*cb)(bool proceed, void *pw), void *cbpw);
|
extern void gui_401login_open(struct nsurl *url, const char *realm, nserror (*cb)(bool proceed, void *pw), void *cbpw);
|
||||||
|
|
||||||
/** set when no windows remain open. */
|
/** set when no windows remain open. */
|
||||||
extern bool nsgtk_complete;
|
extern bool nsgtk_complete;
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "utils/utils.h"
|
#include "utils/utils.h"
|
||||||
@ -25,7 +26,6 @@
|
|||||||
#include "desktop/tree.h"
|
#include "desktop/tree.h"
|
||||||
#include "desktop/textinput.h"
|
#include "desktop/textinput.h"
|
||||||
|
|
||||||
#include "gtk/gui.h"
|
|
||||||
#include "gtk/history.h"
|
#include "gtk/history.h"
|
||||||
#include "gtk/plotters.h"
|
#include "gtk/plotters.h"
|
||||||
#include "gtk/scaffolding.h"
|
#include "gtk/scaffolding.h"
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <gtk/gtk.h>
|
||||||
|
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
#include "utils/nsoption.h"
|
#include "utils/nsoption.h"
|
||||||
@ -24,7 +25,6 @@
|
|||||||
#include "desktop/plotters.h"
|
#include "desktop/plotters.h"
|
||||||
#include "desktop/tree.h"
|
#include "desktop/tree.h"
|
||||||
|
|
||||||
#include "gtk/gui.h"
|
|
||||||
#include "gtk/hotlist.h"
|
#include "gtk/hotlist.h"
|
||||||
#include "gtk/plotters.h"
|
#include "gtk/plotters.h"
|
||||||
#include "gtk/scaffolding.h"
|
#include "gtk/scaffolding.h"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "utils/nsoption.h"
|
#include "utils/nsoption.h"
|
||||||
#include "utils/file.h"
|
#include "utils/file.h"
|
||||||
#include "utils/log.h"
|
#include "utils/log.h"
|
||||||
|
#include "utils/nsurl.h"
|
||||||
#include "desktop/browser.h"
|
#include "desktop/browser.h"
|
||||||
#include "desktop/searchweb.h"
|
#include "desktop/searchweb.h"
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
|
|
||||||
#include "gtk/compat.h"
|
#include "gtk/compat.h"
|
||||||
#include "gtk/window.h"
|
#include "gtk/window.h"
|
||||||
#include "gtk/gui.h"
|
|
||||||
#include "gtk/search.h"
|
#include "gtk/search.h"
|
||||||
#include "gtk/tabs.h"
|
#include "gtk/tabs.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user