[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-460-ga6d209b

ticho at claws-mail.org ticho at claws-mail.org
Mon Nov 5 22:24:36 CET 2018


The branch, gtk3 has been updated
       via  a6d209b8e9a12fa404161ec0af4c2b021e90b5fd (commit)
      from  141a9fe27cb38225011f07abb9634ee32bb54d82 (commit)

Summary of changes:
 src/gtk/gtkcmclist.c              |    1 -
 src/gtk/gtkutils.c                |    6 ------
 src/gtk/gtkutils.h                |    1 -
 src/plugins/pgpcore/passphrase.c  |    1 -
 src/plugins/rssyl/claws.def       |    1 -
 src/plugins/spam_report/claws.def |    1 -
 src/plugins/vcalendar/claws.def   |    1 -
 src/setup.c                       |    2 --
 src/statusbar.c                   |    1 -
 src/statusbar.h                   |    2 --
 10 files changed, 17 deletions(-)


- Log -----------------------------------------------------------------
commit a6d209b8e9a12fa404161ec0af4c2b021e90b5fd
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Nov 5 22:24:26 2018 +0100

    Removed use of deprecated gdk_window_process_updates().

diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c
index 37c84f5..3968e82 100644
--- a/src/gtk/gtkcmclist.c
+++ b/src/gtk/gtkcmclist.c
@@ -6351,7 +6351,6 @@ hadjustment_value_changed (GtkAdjustment *adjustment,
       GtkWidget *focus_child = gtk_container_get_focus_child (container);
  
       gdk_window_scroll (clist->clist_window, dx, 0);
-      gdk_window_process_updates (clist->clist_window, FALSE);
 
       if (gtk_widget_get_can_focus(GTK_WIDGET(clist)) && 
           gtk_widget_has_focus(GTK_WIDGET(clist)) &&
diff --git a/src/gtk/gtkutils.c b/src/gtk/gtkutils.c
index 7c8c0cb..beb3cc5 100644
--- a/src/gtk/gtkutils.c
+++ b/src/gtk/gtkutils.c
@@ -640,12 +640,6 @@ void gtkut_widget_get_uposition(GtkWidget *widget, gint *px, gint *py)
 	*py = y;
 }
 
-void gtkut_widget_draw_now(GtkWidget *widget)
-{
-	if (widget && gtk_widget_get_visible(widget) && gtk_widget_is_drawable(widget))
-		gdk_window_process_updates(gtk_widget_get_window(widget), FALSE);
-}
-
 static void gtkut_clist_bindings_add(GtkWidget *clist)
 {
 	GtkBindingSet *binding_set;
diff --git a/src/gtk/gtkutils.h b/src/gtk/gtkutils.h
index 4118542..d41e5b6 100644
--- a/src/gtk/gtkutils.h
+++ b/src/gtk/gtkutils.h
@@ -157,7 +157,6 @@ GtkWidget *gtkut_window_new		(GtkWindowType	 type,
 void gtkut_widget_get_uposition		(GtkWidget	*widget,
 					 gint		*px,
 					 gint		*py);
-void gtkut_widget_draw_now		(GtkWidget	*widget);
 void gtkut_widget_init			(void);
 
 void gtkut_widget_set_app_icon		(GtkWidget	*widget);
diff --git a/src/plugins/pgpcore/passphrase.c b/src/plugins/pgpcore/passphrase.c
index 3eff708..3615936 100644
--- a/src/plugins/pgpcore/passphrase.c
+++ b/src/plugins/pgpcore/passphrase.c
@@ -143,7 +143,6 @@ passphrase_mbox(const gchar *uid_hint, const gchar *pass_hint, gint prev_bad, gi
         /* make sure that window is viewable */
         gtk_widget_show_now(window);
 	gdkwin = gtk_widget_get_window(window);
-	gdk_window_process_updates(gdkwin, TRUE);
 	gdk_flush();
 	while(gtk_events_pending()) {
 		gtk_main_iteration();
diff --git a/src/plugins/rssyl/claws.def b/src/plugins/rssyl/claws.def
index 85de45e..5e06e7b 100644
--- a/src/plugins/rssyl/claws.def
+++ b/src/plugins/rssyl/claws.def
@@ -81,7 +81,6 @@ gtk_cmctree_get_type
 gtk_cmctree_is_ancestor
 gtk_cmctree_node_get_row_data
 gtkut_get_browse_file_btn
-gtkut_widget_draw_now
 gtkut_window_new
 inc_offline_should_override
 input_dialog
diff --git a/src/plugins/spam_report/claws.def b/src/plugins/spam_report/claws.def
index 28bbdc7..0f385d5 100644
--- a/src/plugins/spam_report/claws.def
+++ b/src/plugins/spam_report/claws.def
@@ -18,7 +18,6 @@ get_rc_dir
 gtk_cmclist_freeze
 gtk_cmclist_get_type
 gtk_cmclist_thaw
-gtkut_widget_draw_now
 hooks_register_hook
 hooks_unregister_hook
 inc_lock_count
diff --git a/src/plugins/vcalendar/claws.def b/src/plugins/vcalendar/claws.def
index 6bfa523..a764123 100644
--- a/src/plugins/vcalendar/claws.def
+++ b/src/plugins/vcalendar/claws.def
@@ -99,7 +99,6 @@ gtkut_time_select_combo_new
 gtkut_time_select_get_time
 gtkut_time_select_select_by_time
 gtkut_ui_manager
-gtkut_widget_draw_now
 gtkut_window_new
 inc_lock_count
 inc_lock_real
diff --git a/src/setup.c b/src/setup.c
index 552d860..8fd2be8 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -99,8 +99,6 @@ static void scan_tree_func(Folder *folder, FolderItem *item, gpointer data)
 	if (mainwin->statusbar)
 		gtk_statusbar_push(GTK_STATUSBAR(mainwin->statusbar),
 			   mainwin->mainwin_cid, str);
-	if (mainwin->hbox_stat)
-		gtkut_widget_draw_now(mainwin->hbox_stat);
 	
 	if (mainwin->statusbar)
 		gtk_statusbar_pop(GTK_STATUSBAR(mainwin->statusbar),
diff --git a/src/statusbar.c b/src/statusbar.c
index 3d59c45..ca22493 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -79,7 +79,6 @@ void statusbar_puts(GtkStatusbar *statusbar, const gchar *str)
 	cid = gtk_statusbar_get_context_id(statusbar, "Standard Output");
 	gtk_statusbar_pop(statusbar, cid);
 	gtk_statusbar_push(statusbar, cid, buf);
-	gtkut_widget_draw_now(GTK_WIDGET(statusbar));
 
 	g_free(buf);
 }
diff --git a/src/statusbar.h b/src/statusbar.h
index b3b5d46..d30b41a 100644
--- a/src/statusbar.h
+++ b/src/statusbar.h
@@ -42,8 +42,6 @@ void statusbar_progress_all	(gint done, gint total, gint step);
 	if (mainwin->statusbar) \
 		gtk_statusbar_push(GTK_STATUSBAR(mainwin->statusbar), \
 			   mainwin->folderview_cid, str); \
-	if (mainwin->hbox_stat) \
-		gtkut_widget_draw_now(mainwin->hbox_stat); \
 }
 
 #define STATUSBAR_POP(mainwin) \

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list