[gnome-terminal] Set "scrollable" only once during initialization
- From: Wouter Bolsterlee <wbolster src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Set "scrollable" only once during initialization
- Date: Mon, 18 Jul 2011 20:17:03 +0000 (UTC)
commit 3351bce59c0f1a4f6740cf6481a296a7e7f56cc7
Author: Wouter Bolsterlee <wbolster gnome org>
Date: Mon Jul 18 22:14:46 2011 +0200
Set "scrollable" only once during initialization
Remove a superfluous gtk_notebook_set_scrollable() call, since that is
already done a few lines earlier in the same function.
src/terminal-window.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 1b5b46b..27b76a6 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2033,8 +2033,6 @@ terminal_window_init (TerminalWindow *window)
#else
gtk_notebook_set_group (GTK_NOTEBOOK (priv->notebook), GUINT_TO_POINTER (1));
#endif
- gtk_notebook_set_scrollable (GTK_NOTEBOOK (priv->notebook),
- TRUE);
g_signal_connect (priv->notebook, "button-press-event",
G_CALLBACK (notebook_button_press_cb), window);
g_signal_connect (priv->notebook, "popup-menu",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]