From 4fc479663b3384c4d62188360a598e43a74f49db Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 12 Dec 2003 07:44:20 +0000 Subject: Update to 2.5.2. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1473 df743ca5-7f9a-e211-a948-0013205c9059 --- .../gnome-system-monitor/files/patch-src_interface.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sysutils/gnome-system-monitor/files/patch-src_interface.c (limited to 'sysutils/gnome-system-monitor/files/patch-src_interface.c') diff --git a/sysutils/gnome-system-monitor/files/patch-src_interface.c b/sysutils/gnome-system-monitor/files/patch-src_interface.c new file mode 100644 index 000000000..9006a2094 --- /dev/null +++ b/sysutils/gnome-system-monitor/files/patch-src_interface.c @@ -0,0 +1,19 @@ +--- src/interface.c.orig Fri Dec 12 02:22:50 2003 ++++ src/interface.c Fri Dec 12 02:23:05 2003 +@@ -395,6 +395,7 @@ + sizegroup = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL); + for (i=0;iconfig.num_cpus; i++) { + GtkWidget *temp_hbox; ++ gchar *text; + /* Two per row */ + if (fabs(fmod(i,2) - 0) < .01) { + hbox = gtk_hbox_new (FALSE, 12); +@@ -416,7 +417,7 @@ + G_CALLBACK (cb_cpu_color_changed), GINT_TO_POINTER (i)); + gtk_box_pack_start (GTK_BOX (temp_hbox), color_picker, FALSE, FALSE, 0); + +- gchar *text = g_strdup_printf (_("CPU%d:"), i+1); ++ text = g_strdup_printf (_("CPU%d:"), i+1); + label = gtk_label_new (text); + gtk_box_pack_start (GTK_BOX (temp_hbox), label, FALSE, FALSE, 0); + g_free (text); -- cgit v1.2.3