[Xfce4-commits] [xfce/xfce4-appfinder] 04/13: Fix gtk_alignment_new deprecation

noreply at xfce.org noreply at xfce.org
Mon Jul 17 03:22:11 CEST 2017


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-appfinder.

commit 294ad18245d5a3ff7085af692f03f883c10a8c41
Author: Eduard Roccatello <eduard at xfce.org>
Date:   Mon Sep 28 21:26:18 2015 +0200

    Fix gtk_alignment_new deprecation
---
 src/appfinder-window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 630e5cb..e84e18e 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -276,7 +276,7 @@ xfce_appfinder_window_init (XfceAppfinderWindow *window)
   gtk_entry_completion_set_popup_single_match (completion, TRUE);
   gtk_entry_completion_set_inline_completion (completion, TRUE);
 
-  window->bin_collapsed = gtk_alignment_new (0.0, 0.0, 1.0, 1.0);
+  window->bin_collapsed = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL);
   gtk_box_pack_start (GTK_BOX (vbox2), window->bin_collapsed, FALSE, TRUE, 0);
   gtk_widget_show (window->bin_collapsed);
 
@@ -334,7 +334,7 @@ xfce_appfinder_window_init (XfceAppfinderWindow *window)
   /* set the icon or tree view */
   xfce_appfinder_window_view (window);
 
-  window->bin_expanded = gtk_alignment_new (0.0, 0.0, 1.0, 1.0);
+  window->bin_expanded = gtk_paned_new(GTK_ORIENTATION_HORIZONTAL);
   gtk_box_pack_start (GTK_BOX (vbox), window->bin_expanded, FALSE, TRUE, 0);
   gtk_widget_show (window->bin_expanded);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list