diff options
-rw-r--r-- | INSTALL | 0 | ||||
-rwxr-xr-x | autogen.sh | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | test/test-send-xmessage.c | 7 | ||||
-rw-r--r-- | test/test-watch-xmessages.c | 6 |
5 files changed, 9 insertions, 8 deletions
@@ -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); |