[anjuta] [terminal] use accessor to get terminal widget adjustment
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] [terminal] use accessor to get terminal widget adjustment
- Date: Wed, 21 Jul 2010 08:10:25 +0000 (UTC)
commit 9069d1d653529624cfbba269b691603303f04c63
Author: Frédéric Péters <fpeters 0d be>
Date: Wed Jul 21 08:54:08 2010 +0200
[terminal] use accessor to get terminal widget adjustment
https://bugzilla.gnome.org/show_bug.cgi?id=624901
plugins/terminal/terminal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/terminal/terminal.c b/plugins/terminal/terminal.c
index 5e2b1df..4f1e753 100644
--- a/plugins/terminal/terminal.c
+++ b/plugins/terminal/terminal.c
@@ -709,7 +709,7 @@ create_box (GtkWidget *term)
{
GtkWidget *sb, *hbox;
- sb = gtk_vscrollbar_new (GTK_ADJUSTMENT (VTE_TERMINAL (term)->adjustment));
+ sb = gtk_vscrollbar_new (GTK_ADJUSTMENT (vte_terminal_get_adjustment (VTE_TERMINAL (term))));
gtk_widget_set_can_focus (sb, FALSE);
hbox = gtk_hbox_new (FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]