From 568f43e554eafa0faaa27e1b56cbed405eb19a92 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 23 Sep 2008 09:27:35 -0400 Subject: Removed unused 'resize_split' function. --- src/textadept.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index 9aaeccd6..a500a699 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -353,22 +353,6 @@ bool unsplit_window(GtkWidget *editor) { return true; } -/** - * Resizes a GTK pane. - * @param editor The Scintilla window (typically the current one) contained in - * the GTK pane to resize. - * @param pos The position to resize to. - * @param increment Flag indicating whether or not the resizing is incremental. - * If true, pos is added to the current pane position; otherwise the position - * is absolute. - * Defaults to true. - */ -void resize_split(GtkWidget *editor, int pos, bool increment) { - GtkWidget *pane = gtk_widget_get_parent(editor); - int width = gtk_paned_get_position(GTK_PANED(pane)); - gtk_paned_set_position(GTK_PANED(pane), pos + (increment ? width : 0)); -} - /** * Sets a user-defined GTK menubar and displays it. * @param new_menubar The GTK menubar. -- cgit v1.2.3