mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-19 18:52:39 +03:00
remove unsused junk gtk_history_window structure and functions
This commit is contained in:
parent
635be1dfb8
commit
65d5161558
@ -1310,11 +1310,6 @@ GtkWidget *nsgtk_scaffolding_urlbar(struct nsgtk_scaffolding *g)
|
||||
return NULL;//g->url_bar;
|
||||
}
|
||||
|
||||
/* exported interface documented in gtk/scaffolding.h */
|
||||
GtkToolbar *nsgtk_scaffolding_toolbar(struct nsgtk_scaffolding *g)
|
||||
{
|
||||
return NULL;//g->tool_bar;
|
||||
}
|
||||
|
||||
/* exported interface documented in gtk/scaffolding.h */
|
||||
struct gtk_search *nsgtk_scaffolding_search(struct nsgtk_scaffolding *g)
|
||||
|
@ -29,20 +29,12 @@ struct gui_search_web_table;
|
||||
struct nsurl;
|
||||
|
||||
|
||||
|
||||
struct gtk_history_window {
|
||||
struct nsgtk_scaffolding *g;
|
||||
GtkWindow *window;
|
||||
GtkScrolledWindow *scrolled;
|
||||
GtkDrawingArea *drawing_area;
|
||||
};
|
||||
|
||||
struct gtk_search {
|
||||
GtkToolbar *bar;
|
||||
GtkEntry *entry;
|
||||
GtkToolButton *buttons[3]; /* back, forward, */
|
||||
GtkCheckButton *checkAll; /* close */
|
||||
GtkCheckButton *caseSens;
|
||||
GtkToolbar *bar;
|
||||
GtkEntry *entry;
|
||||
GtkToolButton *buttons[3]; /* back, forward, */
|
||||
GtkCheckButton *checkAll;
|
||||
GtkCheckButton *caseSens;
|
||||
};
|
||||
|
||||
|
||||
@ -101,18 +93,11 @@ GtkNotebook *nsgtk_scaffolding_notebook(struct nsgtk_scaffolding *g);
|
||||
*/
|
||||
GtkWidget *nsgtk_scaffolding_urlbar(struct nsgtk_scaffolding *g);
|
||||
|
||||
/**
|
||||
* Get the gtk toolbar from a scaffold.
|
||||
*/
|
||||
GtkToolbar *nsgtk_scaffolding_toolbar(struct nsgtk_scaffolding *g);
|
||||
|
||||
|
||||
struct gtk_search *nsgtk_scaffolding_search(struct nsgtk_scaffolding *g);
|
||||
|
||||
GtkMenuBar *nsgtk_scaffolding_menu_bar(struct nsgtk_scaffolding *g);
|
||||
|
||||
struct gtk_history_window *nsgtk_scaffolding_history_window(struct nsgtk_scaffolding *g);
|
||||
|
||||
struct gui_window *nsgtk_scaffolding_top_level(struct nsgtk_scaffolding *g);
|
||||
|
||||
|
||||
|
@ -233,6 +233,12 @@ nsgtk_toolbar_##name##_data_minus(GtkWidget *widget, \
|
||||
#undef TOOLBAR_ITEM
|
||||
|
||||
|
||||
/* exported interface documented in gtk/scaffolding.h */
|
||||
static GtkToolbar *nsgtk_scaffolding_toolbar(struct nsgtk_scaffolding *g)
|
||||
{
|
||||
return NULL;//g->tool_bar;
|
||||
}
|
||||
|
||||
/**
|
||||
* get default image for buttons / menu items from gtk stock items.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user