[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-847-gf2747e262
paul at claws-mail.org
paul at claws-mail.org
Thu Nov 21 14:35:00 CET 2019
The branch, gtk3 has been updated
via f2747e26264f2a70b1e60a0c68b3c28d70bd6909 (commit)
from 5b05e23ad0f0e528fd33d728bb163a488f7e20ca (commit)
Summary of changes:
src/addressbook.c | 2 --
src/compose.c | 1 -
src/folderview.c | 2 --
src/gtk/prefswindow.c | 3 ---
src/image_viewer.c | 2 --
src/plugins/vcalendar/day-view.c | 2 --
6 files changed, 12 deletions(-)
- Log -----------------------------------------------------------------
commit f2747e26264f2a70b1e60a0c68b3c28d70bd6909
Author: paul <paul at claws-mail.org>
Date: Thu Nov 21 14:34:55 2019 +0000
gtk_adjustment_changed() is no longer used or needed
diff --git a/src/addressbook.c b/src/addressbook.c
index 3d01ebc47..c6e7018d9 100644
--- a/src/addressbook.c
+++ b/src/addressbook.c
@@ -5783,11 +5783,9 @@ static gboolean addressbook_drag_motion_cb(GtkWidget *widget,
if (y > height - 24 && height + vpos < total_height) {
gtk_adjustment_set_value(pos, (vpos+5 > height ? height : vpos+5));
- gtk_adjustment_changed(pos);
}
if (y < 24 && y > 0) {
gtk_adjustment_set_value(pos, (vpos-5 < 0 ? 0 : vpos-5));
- gtk_adjustment_changed(pos);
}
node = gtk_cmctree_node_nth(GTK_CMCTREE(widget), row);
diff --git a/src/compose.c b/src/compose.c
index 9f117416d..52180d598 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -12030,7 +12030,6 @@ static void compose_show_first_last_header(Compose *compose, gboolean show_first
gtk_adjustment_get_lower(vadj) :
(gtk_adjustment_get_upper(vadj) -
gtk_adjustment_get_page_size(vadj))));
- gtk_adjustment_changed(vadj);
}
static void text_inserted(GtkTextBuffer *buffer, GtkTextIter *iter,
diff --git a/src/folderview.c b/src/folderview.c
index 9e4c3eeeb..e8a7aad5a 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1130,7 +1130,6 @@ void folderview_rescan_tree(Folder *folder, gboolean rebuild)
pos = gtk_scrolled_window_get_vadjustment(
GTK_SCROLLED_WINDOW(folderview->scrolledwin));
gtk_adjustment_set_value(pos, height);
- gtk_adjustment_changed(pos);
}
label_window_destroy(window);
inc_unlock();
@@ -2829,7 +2828,6 @@ void folderview_reflect_prefs(void)
pos = gtk_scrolled_window_get_vadjustment(
GTK_SCROLLED_WINDOW(folderview->scrolledwin));
gtk_adjustment_set_value(pos, height);
- gtk_adjustment_changed(pos);
gtk_cmclist_thaw(GTK_CMCLIST(folderview->ctree));
}
diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c
index 5e62a312b..180ae74e4 100644
--- a/src/gtk/prefswindow.c
+++ b/src/gtk/prefswindow.c
@@ -567,7 +567,6 @@ void prefswindow_open_full(const gchar *title, GSList *prefs_pages,
adj = gtk_scrolled_window_get_vadjustment(
GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1));
gtk_adjustment_set_value(adj, gtk_adjustment_get_lower(adj));
- gtk_adjustment_changed(adj);
}
void prefswindow_open(const gchar *title, GSList *prefs_pages, gpointer data,
@@ -698,11 +697,9 @@ static gboolean prefswindow_row_selected(GtkTreeSelection *selector,
GTK_SCROLLED_WINDOW(page->widget));
lower = gtk_adjustment_get_lower(adj);
gtk_adjustment_set_value(adj, lower);
- gtk_adjustment_changed(adj);
adj = gtk_scrolled_window_get_hadjustment(
GTK_SCROLLED_WINDOW(page->widget));
gtk_adjustment_set_value(adj, lower);
- gtk_adjustment_changed(adj);
#ifdef GENERIC_UMPC
prefs_show_page(prefswindow);
diff --git a/src/image_viewer.c b/src/image_viewer.c
index 15e7258ae..da7a86623 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -201,13 +201,11 @@ static void image_viewer_clear_viewer(MimeViewer *_mimeviewer)
(GTK_SCROLLED_WINDOW(imageviewer->scrolledwin));
if (hadj) {
gtk_adjustment_set_value(hadj, 0.0);
- gtk_adjustment_changed(hadj);
}
vadj = gtk_scrolled_window_get_vadjustment
(GTK_SCROLLED_WINDOW(imageviewer->scrolledwin));
if (vadj) {
gtk_adjustment_set_value(vadj, 0.0);
- gtk_adjustment_changed(vadj);
}
}
g_free(imageviewer->file);
diff --git a/src/plugins/vcalendar/day-view.c b/src/plugins/vcalendar/day-view.c
index a01f7f91a..3f07f72e8 100644
--- a/src/plugins/vcalendar/day-view.c
+++ b/src/plugins/vcalendar/day-view.c
@@ -124,7 +124,6 @@ static void set_scroll_position(day_win *dw)
/* default: let's try to start roughly from line 8 = 8 o'clock */
gtk_adjustment_set_value(v_adj,
gtk_adjustment_get_upper(v_adj) / 3);
- gtk_adjustment_changed(v_adj);
}
static gboolean scroll_position_timer(gpointer user_data)
@@ -244,7 +243,6 @@ static void dw_summary_selected(GtkCMCTree *ctree, GtkCMCTreeNode *row,
((gtk_adjustment_get_upper(v_adj) - gtk_adjustment_get_page_size(v_adj))/((gdouble)24/(gdouble)(tm_start.tm_hour-2))));
else
gtk_adjustment_set_value(v_adj, 0);
- gtk_adjustment_changed(v_adj);
refresh_day_win(dw);
}
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list