SOURCES: gfax-dotnet.patch (NEW) - fix build
arekm
arekm at pld-linux.org
Mon Oct 17 20:27:27 CEST 2005
Author: arekm Date: Mon Oct 17 18:27:27 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build
---- Files affected:
SOURCES:
gfax-dotnet.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/gfax-dotnet.patch
diff -u /dev/null SOURCES/gfax-dotnet.patch:1.1
--- /dev/null Mon Oct 17 20:27:27 2005
+++ SOURCES/gfax-dotnet.patch Mon Oct 17 20:27:22 2005
@@ -0,0 +1,32 @@
+diff -urbB gfax.org/src/gui.cs gfax/src/gui.cs
+--- gfax.org/src/gui.cs 2005-02-28 22:08:34.000000000 +0100
++++ gfax/src/gui.cs 2005-10-17 20:25:40.779008750 +0200
+@@ -541,8 +541,8 @@
+ private int update_queue_status(string queue)
+ {
+ G_ListView view;
+- Fax.FaxQueue q;
+- Fax.FaxRecQueue rq;
++ Fax.FaxQueue q = null;
++ Fax.FaxRecQueue rq = null;
+
+ view = lv;
+
+@@ -580,7 +580,7 @@
+
+ Appbar.ClearStack();
+
+- if (q.Jobid != "") {
++ if (q != null && q.Jobid != "") {
+ Appbar.Push(Catalog.GetString("There are " + reply.Count + " jobs in the queue"));
+ Appbar.Refresh();
+ ((Gtk.Window) gxml["Gfax"]).Title = "Gfax (" + reply.Count + ")";
+@@ -596,7 +596,7 @@
+ view.AddTextToRow(rq.Sender, rq.Status, rq.Pages, rq.TimeReceived, rq.Filename);
+ }
+
+- if (rq.Sender != "") {
++ if (rq != null && rq.Sender != "") {
+ Appbar.Push(Catalog.GetString("There are " + reply.Count + " jobs in the queue"));
+ Appbar.Refresh();
+ ((Gtk.Window) gxml["Gfax"]).Title = "Gfax (" + reply.Count + ")";
================================================================
More information about the pld-cvs-commit
mailing list