[Xfce4-commits] [apps/xfburn] 32/42: moved comp_name inside the test where it's used

noreply at xfce.org noreply at xfce.org
Tue Oct 15 02:22:15 CEST 2019


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

k   a   t   a   n   a   s   t   e   e   l       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/xfburn.

commit f84ba83a2338e3b1e61e1902c1c2797a1922cf62
Author: Rene Kjellerup <rk.katana.steel at gmail.com>
Date:   Thu Dec 27 17:26:08 2018 -0800

    moved comp_name inside the test where it's used
---
 xfburn/xfburn-burn-data-composition-base-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfburn/xfburn-burn-data-composition-base-dialog.c b/xfburn/xfburn-burn-data-composition-base-dialog.c
index f9b6716..063e7e7 100644
--- a/xfburn/xfburn-burn-data-composition-base-dialog.c
+++ b/xfburn/xfburn-burn-data-composition-base-dialog.c
@@ -201,9 +201,9 @@ xfburn_burn_data_composition_base_dialog_constructor (GType type, guint n_constr
   gtk_box_pack_start (box, priv->frame_device, FALSE, FALSE, BORDER);
 
   /* composition name */
-  comp_name = iso_image_get_volume_id (priv->image);
   if (priv->show_volume_name) {
     GtkWidget *label;
+    comp_name = iso_image_get_volume_id (priv->image);
     vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
     gtk_widget_show (vbox);
 

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


More information about the Xfce4-commits mailing list