remove unsused junk gtk_history_window structure and functions

This commit is contained in:
Vincent Sanders 2019-09-05 21:44:27 +01:00 committed by Daniel Silverstone
parent 635be1dfb8
commit 65d5161558
3 changed files with 11 additions and 25 deletions

View File

@ -1310,11 +1310,6 @@ GtkWidget *nsgtk_scaffolding_urlbar(struct nsgtk_scaffolding *g)
return NULL;//g->url_bar; 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 */ /* exported interface documented in gtk/scaffolding.h */
struct gtk_search *nsgtk_scaffolding_search(struct nsgtk_scaffolding *g) struct gtk_search *nsgtk_scaffolding_search(struct nsgtk_scaffolding *g)

View File

@ -29,20 +29,12 @@ struct gui_search_web_table;
struct nsurl; struct nsurl;
struct gtk_history_window {
struct nsgtk_scaffolding *g;
GtkWindow *window;
GtkScrolledWindow *scrolled;
GtkDrawingArea *drawing_area;
};
struct gtk_search { struct gtk_search {
GtkToolbar *bar; GtkToolbar *bar;
GtkEntry *entry; GtkEntry *entry;
GtkToolButton *buttons[3]; /* back, forward, */ GtkToolButton *buttons[3]; /* back, forward, */
GtkCheckButton *checkAll; /* close */ GtkCheckButton *checkAll;
GtkCheckButton *caseSens; GtkCheckButton *caseSens;
}; };
@ -101,18 +93,11 @@ GtkNotebook *nsgtk_scaffolding_notebook(struct nsgtk_scaffolding *g);
*/ */
GtkWidget *nsgtk_scaffolding_urlbar(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); struct gtk_search *nsgtk_scaffolding_search(struct nsgtk_scaffolding *g);
GtkMenuBar *nsgtk_scaffolding_menu_bar(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); struct gui_window *nsgtk_scaffolding_top_level(struct nsgtk_scaffolding *g);

View File

@ -233,6 +233,12 @@ nsgtk_toolbar_##name##_data_minus(GtkWidget *widget, \
#undef TOOLBAR_ITEM #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. * get default image for buttons / menu items from gtk stock items.
* *