mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-24 07:19:37 +03:00
Delete unused function.
svn path=/trunk/netsurf/; revision=12731
This commit is contained in:
parent
a7b886181b
commit
1d5c6fd0ce
15
gtk/window.c
15
gtk/window.c
@ -137,21 +137,6 @@ float nsgtk_get_scale_for_gui(struct gui_window *g)
|
|||||||
return g->bw->scale;
|
return g->bw->scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Attaches the child gui_window (frame) into the parent.
|
|
||||||
*
|
|
||||||
* The window will be resized later.
|
|
||||||
*
|
|
||||||
* \param parent The parent gui window.
|
|
||||||
* \param child The gui window to attach to the parent.
|
|
||||||
*/
|
|
||||||
static void nsgtk_gui_window_attach_child(struct gui_window *parent,
|
|
||||||
struct gui_window *child)
|
|
||||||
{
|
|
||||||
GtkLayout *parent_layout = parent->layout;
|
|
||||||
GtkWidget *child_widget = GTK_WIDGET(child->scrolledwindow);
|
|
||||||
gtk_layout_put(parent_layout, child_widget, 0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
static gboolean nsgtk_window_expose_event(GtkWidget *widget,
|
static gboolean nsgtk_window_expose_event(GtkWidget *widget,
|
||||||
GdkEventExpose *event, gpointer data)
|
GdkEventExpose *event, gpointer data)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user