mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
Avoid sslcert_get_tree_flags.
This commit is contained in:
parent
bf11033987
commit
4a01ef9e7a
@ -32,7 +32,7 @@ void gui_cert_verify(nsurl *url,
|
||||
certs, &data);
|
||||
ssl_current_session = data;
|
||||
|
||||
ssl_window = ami_tree_create(sslcert_get_tree_flags(), data);
|
||||
ssl_window = ami_tree_create(TREE_SSLCERT, data);
|
||||
if(!ssl_window) return;
|
||||
|
||||
ami_tree_open(ssl_window, AMI_TREE_SSLCERT);
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#ifndef AMIGA_SSLCERT_H
|
||||
#define AMIGA_SSLCERT_H
|
||||
#include "desktop/sslcert.h"
|
||||
|
||||
void ami_ssl_free(struct treeview_window *twin);
|
||||
#endif
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "amiga/os3support.h"
|
||||
#include "amiga/gui.h"
|
||||
#include "desktop/tree.h"
|
||||
#include "desktop/sslcert.h"
|
||||
|
||||
/* defined in front end code */
|
||||
extern const char tree_directory_icon_name[];
|
||||
|
@ -53,7 +53,6 @@
|
||||
#include "desktop/save_complete.h"
|
||||
#include "desktop/save_pdf/pdf_plotters.h"
|
||||
#include "desktop/searchweb.h"
|
||||
#include "desktop/sslcert.h"
|
||||
#include "desktop/sslcert_viewer.h"
|
||||
#include "desktop/textinput.h"
|
||||
#include "desktop/tree.h"
|
||||
@ -793,8 +792,8 @@ void gui_cert_verify(nsurl *url, const struct ssl_cert_info *certs,
|
||||
scrolled = GTK_SCROLLED_WINDOW(gtk_builder_get_object(builder, "SSLScrolled"));
|
||||
drawing_area = GTK_DRAWING_AREA(gtk_builder_get_object(builder, "SSLDrawingArea"));
|
||||
|
||||
ssl_window = nsgtk_treeview_create(sslcert_get_tree_flags(),
|
||||
window, scrolled, drawing_area);
|
||||
ssl_window = nsgtk_treeview_create(TREE_SSLCERT, window, scrolled,
|
||||
drawing_area);
|
||||
|
||||
if (ssl_window == NULL)
|
||||
return;
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "content/fetch.h"
|
||||
#include "content/urldb.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/sslcert.h"
|
||||
#include "desktop/sslcert_viewer.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/tree.h"
|
||||
@ -152,7 +151,7 @@ void gui_cert_verify(nsurl *url,
|
||||
ssl_current_session = sslcert_window->data;
|
||||
|
||||
sslcert_window->tv = ro_treeview_create(sslcert_window->pane,
|
||||
NULL, NULL, sslcert_get_tree_flags());
|
||||
NULL, NULL, TREE_SSLCERT);
|
||||
if (sslcert_window->tv == NULL) {
|
||||
LOG(("Failed to allocate treeview"));
|
||||
free(sslcert_window);
|
||||
|
Loading…
Reference in New Issue
Block a user