[Xfce4-commits] [panel-plugins/xfce4-datetime-plugin] 07/17: Drop useless gtk_misc_set_alignment() calls

noreply at xfce.org noreply at xfce.org
Sun May 1 11:46:25 CEST 2016


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

landry pushed a commit to branch master
in repository panel-plugins/xfce4-datetime-plugin.

commit e64b7f4a515c0995a63e5760471621f2ec70cd9f
Author: Landry Breuil <landry at xfce.org>
Date:   Sun May 1 11:28:22 2016 +0200

    Drop useless gtk_misc_set_alignment() calls
---
 panel-plugin/datetime-dialog.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/panel-plugin/datetime-dialog.c b/panel-plugin/datetime-dialog.c
index bcb242f..fdb8c15 100644
--- a/panel-plugin/datetime-dialog.c
+++ b/panel-plugin/datetime-dialog.c
@@ -381,7 +381,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
 
   /* Format label */
   label = gtk_label_new(_("Format:"));
-  gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
   gtk_size_group_add_widget(sg, label);
 
@@ -415,7 +414,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
   datetime->date_tooltip_label = gtk_label_new(str);
   g_free(str);
   gtk_label_set_use_markup(GTK_LABEL(datetime->date_tooltip_label), TRUE);
-  gtk_misc_set_alignment(GTK_MISC(datetime->date_tooltip_label), 0.0f, 0.0f);
   gtk_box_pack_start(GTK_BOX(vbox), datetime->date_tooltip_label, FALSE, FALSE, 0);
 
   /* hbox */
@@ -424,7 +422,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
 
   /* font label */
   label = gtk_label_new(_("Font:"));
-  gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(datetime->date_font_hbox), label, FALSE, FALSE, 0);
   gtk_size_group_add_widget(sg, label);
 
@@ -441,7 +438,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
 
   /* format label */
   label = gtk_label_new(_("Format:"));
-  gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
   gtk_size_group_add_widget(sg, label);
 
@@ -516,7 +512,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
   datetime->time_tooltip_label = gtk_label_new(str);
   g_free(str);
   gtk_label_set_use_markup(GTK_LABEL(datetime->time_tooltip_label), TRUE);
-  gtk_misc_set_alignment(GTK_MISC(datetime->time_tooltip_label), 0.0f, 0.0f);
   gtk_box_pack_start(GTK_BOX(vbox), datetime->time_tooltip_label, FALSE, FALSE, 0);
 
   /* hbox */
@@ -525,7 +520,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
 
   /* font label */
   label = gtk_label_new(_("Font:"));
-  gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(datetime->time_font_hbox), label, FALSE, FALSE, 0);
   gtk_size_group_add_widget(sg, label);
 
@@ -542,7 +536,6 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
 
   /* format label */
   label = gtk_label_new(_("Format:"));
-  gtk_misc_set_alignment(GTK_MISC (label), 0, 0.5);
   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
   gtk_size_group_add_widget(sg, label);
 

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


More information about the Xfce4-commits mailing list