mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 05:27:00 +03:00
remove unused signal handler api
This commit is contained in:
parent
2bed178a33
commit
25581133a1
@ -121,9 +121,6 @@ struct gui_window {
|
|||||||
/** has the status pane had its first size operation yet? */
|
/** has the status pane had its first size operation yet? */
|
||||||
bool paned_sized;
|
bool paned_sized;
|
||||||
|
|
||||||
/** to allow disactivation / resume of normal window behaviour */
|
|
||||||
gulong signalhandler[NSGTK_WINDOW_SIGNAL_COUNT];
|
|
||||||
|
|
||||||
/** The icon this window should have */
|
/** The icon this window should have */
|
||||||
GdkPixbuf *icon;
|
GdkPixbuf *icon;
|
||||||
|
|
||||||
@ -831,7 +828,6 @@ gui_window_create(struct browser_window *bw,
|
|||||||
GTK_STATE_NORMAL,
|
GTK_STATE_NORMAL,
|
||||||
0, 0xffff, 0xffff, 0xffff);
|
0, 0xffff, 0xffff, 0xffff);
|
||||||
|
|
||||||
g->signalhandler[NSGTK_WINDOW_SIGNAL_REDRAW] =
|
|
||||||
nsgtk_connect_draw_event(GTK_WIDGET(g->layout),
|
nsgtk_connect_draw_event(GTK_WIDGET(g->layout),
|
||||||
G_CALLBACK(nsgtk_window_draw_event), g);
|
G_CALLBACK(nsgtk_window_draw_event), g);
|
||||||
|
|
||||||
@ -842,7 +838,6 @@ gui_window_create(struct browser_window *bw,
|
|||||||
/* layout signals */
|
/* layout signals */
|
||||||
CONNECT(g->layout, "motion-notify-event",
|
CONNECT(g->layout, "motion-notify-event",
|
||||||
nsgtk_window_motion_notify_event, g);
|
nsgtk_window_motion_notify_event, g);
|
||||||
g->signalhandler[NSGTK_WINDOW_SIGNAL_CLICK] =
|
|
||||||
CONNECT(g->layout, "button-press-event",
|
CONNECT(g->layout, "button-press-event",
|
||||||
nsgtk_window_button_press_event, g);
|
nsgtk_window_button_press_event, g);
|
||||||
CONNECT(g->layout, "button-release-event",
|
CONNECT(g->layout, "button-release-event",
|
||||||
|
@ -22,12 +22,6 @@
|
|||||||
extern struct gui_window_table *nsgtk_window_table;
|
extern struct gui_window_table *nsgtk_window_table;
|
||||||
extern struct gui_search_web_table *nsgtk_search_web_table;
|
extern struct gui_search_web_table *nsgtk_search_web_table;
|
||||||
|
|
||||||
typedef enum nsgtk_window_signals {
|
|
||||||
NSGTK_WINDOW_SIGNAL_CLICK,
|
|
||||||
NSGTK_WINDOW_SIGNAL_REDRAW,
|
|
||||||
NSGTK_WINDOW_SIGNAL_COUNT
|
|
||||||
} nsgtk_window_signal;
|
|
||||||
|
|
||||||
extern struct gui_window *window_list;
|
extern struct gui_window *window_list;
|
||||||
extern int temp_open_background;
|
extern int temp_open_background;
|
||||||
|
|
||||||
@ -78,13 +72,6 @@ int nsgtk_gui_window_update_targets(struct gui_window *gw);
|
|||||||
*/
|
*/
|
||||||
void nsgtk_window_destroy_browser(struct gui_window *gw);
|
void nsgtk_window_destroy_browser(struct gui_window *gw);
|
||||||
|
|
||||||
/**
|
|
||||||
* set signal handler
|
|
||||||
*
|
|
||||||
* \param gw gui window handle
|
|
||||||
*/
|
|
||||||
unsigned long nsgtk_window_get_signalhandler(struct gui_window *gw, int i);
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* toggle search visibility
|
* toggle search visibility
|
||||||
|
Loading…
Reference in New Issue
Block a user