org.guifications.plugins: 1f3333f96db609699aeb757e83c00d9898cc62c9

nosnilmot at guifications.org nosnilmot at guifications.org
Wed Nov 28 08:20:09 CST 2007


-----------------------------------------------------------------
Revision: 1f3333f96db609699aeb757e83c00d9898cc62c9
Ancestor: 4a1ab3007c61b458a50f5063b82ccebaa1c783c6
Author: nosnilmot at guifications.org
Date: 2007-11-28T14:11:17
Branch: org.guifications.plugins

Modified files:
        timelog/range-widget.c

ChangeLog: 

Kill another C99ism

-----------------------------------------------------------------
This revision's diffstat output:
 range-widget.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
-------------- next part --------------
============================================================
--- timelog/range-widget.c	f81700abaa1191287fdf6608723b75336be7fdf2
+++ timelog/range-widget.c	f324a3a6897224d1791d16fc9c9118e4f55b5d7a
@@ -210,6 +210,7 @@ range_widget_create()
 	GtkWidget *hbox341;
 	GtkWidget *image49;
 	GtkWidget *label97;
+	gchar *val;
 
 	range_dialog = gtk_dialog_new();
 	gtk_window_set_title(GTK_WINDOW(range_dialog), TIMELOG_TITLE);
@@ -348,7 +349,7 @@ range_widget_create()
 	g_signal_connect((gpointer) end_seconds, "value_changed",
 			G_CALLBACK(cb_time_value_changed), NULL);
 
-	gchar *val = g_strdup_printf("%02d", 0);
+	val = g_strdup_printf("%02d", 0);
 	gtk_entry_set_text(GTK_ENTRY(start_hours), val);
 	gtk_entry_set_text(GTK_ENTRY(start_minutes), val);
 	gtk_entry_set_text(GTK_ENTRY(start_seconds), val);


More information about the Plugins-commits mailing list