summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-05 10:54:04 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-05 10:54:04 +0000
commit1d5c6fd0ce436c27344a525711339847214b15d4 (patch)
treeed4b959c9a145111627334fbbb08bae787d42314 /gtk
parenta7b886181ba506c52d437bc2ea77c6b14731a57e (diff)
downloadnetsurf-1d5c6fd0ce436c27344a525711339847214b15d4.tar.gz
netsurf-1d5c6fd0ce436c27344a525711339847214b15d4.tar.bz2
Delete unused function.
svn path=/trunk/netsurf/; revision=12731
Diffstat (limited to 'gtk')
-rw-r--r--gtk/window.c15
1 files changed, 0 insertions, 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)
{