summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-10-23 18:12:04 +0000
committerHavoc Pennington <hp@redhat.com>2002-10-23 18:12:04 +0000
commit75b14881e50c153e371b9521dba381d04d0a76f1 (patch)
tree5a17750d66bd8d2b415d93f8555285a3e970ffc2
parent35e4a1f3a786c0697a70f8b9b08144ad46b47cd0 (diff)
-rw-r--r--INSTALL0
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.in2
-rw-r--r--test/test-send-xmessage.c7
-rw-r--r--test/test-watch-xmessages.c6
5 files changed, 9 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/INSTALL
diff --git a/autogen.sh b/autogen.sh
index 6a98e9b..ce5bec8 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,7 +7,7 @@ test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
-PROJECT=launchfeedback
+PROJECT=startup-notification
TEST_TYPE=-f
FILE=libsn-1.0.pc.in
diff --git a/configure.in b/configure.in
index 21f1743..a8047c3 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ AC_INIT(libsn/sn-launchee.c)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(launchfeedback, 0.1)
+AM_INIT_AUTOMAKE(startup-notification, 0.2)
# Honor aclocal flags
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
diff --git a/test/test-send-xmessage.c b/test/test-send-xmessage.c
index d1c0a6f..8d7166f 100644
--- a/test/test-send-xmessage.c
+++ b/test/test-send-xmessage.c
@@ -34,9 +34,9 @@ main (int argc, char **argv)
Display *xdisplay;
SnDisplay *display;
- if (argc != 3)
+ if (argc != 4)
{
- fprintf (stderr, "Must specify message type and message content as first and second args\n");
+ fprintf (stderr, "Must specify message type, message begin type, and message content as first, second, and third args\n");
return 1;
}
@@ -58,7 +58,8 @@ main (int argc, char **argv)
sn_internal_broadcast_xmessage (display, DefaultScreen (xdisplay),
argv[1],
- argv[2]);
+ argv[2],
+ argv[3]);
return 0;
}
diff --git a/test/test-watch-xmessages.c b/test/test-watch-xmessages.c
index 75c55b6..86ed29e 100644
--- a/test/test-watch-xmessages.c
+++ b/test/test-watch-xmessages.c
@@ -73,9 +73,9 @@ main (int argc, char **argv)
Display *xdisplay;
SnDisplay *display;
- if (argc != 2)
+ if (argc != 3)
{
- fprintf (stderr, "argument must be type of events to watch\n");
+ fprintf (stderr, "arguments must be type and begin type of events to watch\n");
return 1;
}
@@ -101,7 +101,7 @@ main (int argc, char **argv)
error_trap_pop);
sn_internal_add_xmessage_func (display, DefaultScreen (xdisplay),
- argv[1],
+ argv[1], argv[2],
message_func,
NULL, NULL);