[balsa/focus-chain] main-window: Deprecation cleanup



commit 4af43cf2810309c926b23a340cf8dfdd3210fd94
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Oct 17 20:19:21 2018 -0400

    main-window: Deprecation cleanup
    
    * src/main-window.c (bw_create_index_widget):
      gtk_container_*_focus_chain functions are deprecated.

 ChangeLog         | 5 +++++
 src/main-window.c | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7d09d59f9..48db7ea4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-17  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * src/main-window.c (bw_create_index_widget):
+       gtk_container_*_focus_chain functions are deprecated.
+
 2018-10-17  Peter Bloomfield  <pbloomfield bellsouth net>
 
        * src/balsa-mime-widget-callbacks.c (bmw_set_can_focus),
diff --git a/src/main-window.c b/src/main-window.c
index a5cef07f1..a5e45254d 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -461,7 +461,6 @@ bw_create_index_widget(BalsaWindow *bw)
 {
     GtkWidget *vbox, *button;
     unsigned i;
-    GList *focusable_widgets;
 
     if(!view_filters_translated) {
         for(i=0; i<ELEMENTS(view_filters); i++)
@@ -511,10 +510,6 @@ bw_create_index_widget(BalsaWindow *bw)
     gtk_box_pack_start(GTK_BOX(vbox), bw->sos_bar, FALSE, FALSE, 0);
     gtk_box_pack_start(GTK_BOX(vbox), bw->notebook, TRUE, TRUE, 0);
 
-    focusable_widgets = g_list_append(NULL, bw->notebook);
-    gtk_container_set_focus_chain(GTK_CONTAINER(vbox), focusable_widgets);
-    g_list_free(focusable_widgets);
-
     gtk_widget_set_sensitive(button, FALSE);
     gtk_widget_show(vbox);
     return vbox;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]