diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-22 18:58:09 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-22 20:11:16 +0800 |
commit | 7c8a06a7cd034f24df4c532533ef144cb87145ee (patch) | |
tree | b43c7a93398c1a295b19bb154c208b5a25dd8931 /libempathy-gtk | |
parent | d2f7a29078e2b351e1c52cc6db049808ae86ae1f (diff) | |
download | gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.tar gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.tar.gz gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.tar.bz2 gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.tar.lz gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.tar.xz gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.tar.zst gsoc2013-empathy-7c8a06a7cd034f24df4c532533ef144cb87145ee.zip |
gtk_text_view_get_vadjustment() has been removed
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-chat-text-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c index 5b6d5727b..07ad45dbd 100644 --- a/libempathy-gtk/empathy-chat-text-view.c +++ b/libempathy-gtk/empathy-chat-text-view.c @@ -344,7 +344,7 @@ chat_text_view_is_scrolled_down (EmpathyChatTextView *view) gdouble upper; gdouble page_size; - vadj = gtk_text_view_get_vadjustment (GTK_TEXT_VIEW (view)); + vadj = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (view)); value = gtk_adjustment_get_value (vadj); upper = gtk_adjustment_get_upper (vadj); page_size = gtk_adjustment_get_page_size (vadj); @@ -495,7 +495,7 @@ chat_text_view_size_allocate (GtkWidget *widget, if (down) { GtkAdjustment *adj; - adj = gtk_text_view_get_vadjustment (GTK_TEXT_VIEW (widget)); + adj = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (widget)); gtk_adjustment_set_value (adj, gtk_adjustment_get_upper (adj) - gtk_adjustment_get_page_size (adj)); @@ -683,7 +683,7 @@ chat_text_view_scroll_cb (EmpathyChatTextView *view) priv = GET_PRIV (view); - adj = gtk_text_view_get_vadjustment (GTK_TEXT_VIEW (view)); + adj = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (view)); max_val = gtk_adjustment_get_upper (adj) - gtk_adjustment_get_page_size (adj); g_return_val_if_fail (priv->scroll_time != NULL, FALSE); |