[Xfce4-commits] [apps/xfce4-screensaver] 292/425: copy theme dialog: fix build warning about wrong variable type

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:52:19 CEST 2018


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

b   l   u   e   s   a   b   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 apps/xfce4-screensaver.

commit 5c52f7867c7e46897b6c4966cade4975042f383e
Author: monsta <monsta at inbox.ru>
Date:   Sat Mar 18 13:24:09 2017 +0300

    copy theme dialog: fix build warning about wrong variable type
    
    and set grid property only once, after grid is created
---
 src/copy-theme-dialog.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/copy-theme-dialog.c b/src/copy-theme-dialog.c
index 470f192..fe7610d 100644
--- a/src/copy-theme-dialog.c
+++ b/src/copy-theme-dialog.c
@@ -226,6 +226,7 @@ copy_theme_dialog_init (CopyThemeDialog *dlg)
 	grid = gtk_grid_new ();
 	gtk_grid_set_row_spacing (GTK_GRID (grid), 4);
 	gtk_grid_set_column_spacing (GTK_GRID (grid), 4);
+	gtk_grid_set_column_homogeneous (GTK_GRID (grid), TRUE);
 
 	create_titled_label (GTK_GRID (grid), 0,
 	                     &label,
@@ -530,14 +531,12 @@ create_titled_label (GtkGrid    *grid,
 	gtk_widget_set_halign (*title_widget, GTK_ALIGN_END);
 	gtk_widget_set_valign (*title_widget, GTK_ALIGN_START);
 
-	gtk_grid_set_column_homogeneous (*title_widget, TRUE);
 	gtk_grid_attach (grid, *title_widget,
 	                 0, row, 1, 1);
 	gtk_widget_show (*title_widget);
 
 	*label_text_widget = gtk_label_new ("");
 	gtk_label_set_ellipsize (GTK_LABEL (*label_text_widget), PANGO_ELLIPSIZE_END);
-	gtk_grid_set_column_homogeneous (*label_text_widget, TRUE);
 	gtk_widget_set_hexpand (*label_text_widget, TRUE);
 	gtk_grid_attach (grid, *label_text_widget,
 	                 1, row, 1, 1);

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


More information about the Xfce4-commits mailing list