[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-444-g25fc65e
ticho at claws-mail.org
ticho at claws-mail.org
Fri Nov 2 19:19:41 CET 2018
The branch, gtk3 has been updated
via 25fc65e755ad2b04cd35a55286265dffd2ab927b (commit)
from eb4971a143868c8b1173b3852420cd409a403032 (commit)
Summary of changes:
src/gtk/gtkcmclist.c | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit 25fc65e755ad2b04cd35a55286265dffd2ab927b
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Fri Nov 2 19:18:44 2018 +0100
Small optimization in GtkCMCList adjust_adjustments().
diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c
index 9341895..10d2c9b 100644
--- a/src/gtk/gtkcmclist.c
+++ b/src/gtk/gtkcmclist.c
@@ -6175,6 +6175,7 @@ adjust_adjustments (GtkCMCList *clist,
{
if (clist->vadjustment)
{
+ g_object_freeze_notify(G_OBJECT(clist->vadjustment));
gtk_adjustment_set_page_size (clist->vadjustment, clist->clist_window_height);
gtk_adjustment_set_step_increment (clist->vadjustment, clist->row_height);
gtk_adjustment_set_page_increment (clist->vadjustment,
@@ -6182,6 +6183,7 @@ adjust_adjustments (GtkCMCList *clist,
clist->clist_window_height / 2));
gtk_adjustment_set_lower (clist->vadjustment, 0);
gtk_adjustment_set_upper (clist->vadjustment, LIST_HEIGHT (clist));
+ g_object_thaw_notify(G_OBJECT(clist->vadjustment));
if ((clist->clist_window_height - clist->voffset) > LIST_HEIGHT (clist) ||
(clist->voffset + (gint)gtk_adjustment_get_value (clist->vadjustment)) != 0)
@@ -6196,6 +6198,7 @@ adjust_adjustments (GtkCMCList *clist,
if (clist->hadjustment)
{
+ g_object_freeze_notify(G_OBJECT(clist->hadjustment));
gtk_adjustment_set_page_size (clist->hadjustment, clist->clist_window_width);
gtk_adjustment_set_step_increment (clist->hadjustment, 10);
gtk_adjustment_set_page_increment (clist->hadjustment,
@@ -6204,6 +6207,7 @@ adjust_adjustments (GtkCMCList *clist,
clist->clist_window_width / 2));
gtk_adjustment_set_lower (clist->hadjustment, 0);
gtk_adjustment_set_upper (clist->hadjustment, LIST_WIDTH (clist));
+ g_object_thaw_notify(G_OBJECT(clist->hadjustment));
if ((clist->clist_window_width - clist->hoffset) > LIST_WIDTH (clist) ||
(clist->hoffset + (gint)gtk_adjustment_get_value (clist->hadjustment)) != 0)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list