From 1d5c6fd0ce436c27344a525711339847214b15d4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 5 Sep 2011 10:54:04 +0000 Subject: [PATCH] Delete unused function. svn path=/trunk/netsurf/; revision=12731 --- gtk/window.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gtk/window.c b/gtk/window.c index 1933298fb..0d1113f8e 100644 --- a/gtk/window.c +++ b/gtk/window.c @@ -137,21 +137,6 @@ float nsgtk_get_scale_for_gui(struct gui_window *g) 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, GdkEventExpose *event, gpointer data) {