summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hearn <mike@navi.cx>2004-11-08 23:01:20 +0000
committerMike Hearn <mike@navi.cx>2004-11-08 23:01:20 +0000
commit2d528a535186caa07bb170ff8f1740ba31f69112 (patch)
tree7e40365c1223cbc3f6925dd42328c84fc1f6b3ae
parent3d86854e83126d79eae52905fcc17a1b728ad7df (diff)
downloadlibnotify-2d528a535186caa07bb170ff8f1740ba31f69112.tar.gz
spaces -> tabs
-rw-r--r--tests/test-animation.c2
-rw-r--r--tests/test-basic.c2
-rw-r--r--tests/test-default-action.c18
-rw-r--r--tests/test-error.c2
-rw-r--r--tests/test-image.c2
-rw-r--r--tests/test-markup.c2
-rw-r--r--tests/test-multi-actions.c36
7 files changed, 32 insertions, 32 deletions
diff --git a/tests/test-animation.c b/tests/test-animation.c
index 911d594..e6a0eb5 100644
--- a/tests/test-animation.c
+++ b/tests/test-animation.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
diff --git a/tests/test-basic.c b/tests/test-basic.c
index aca0871..24d17ca 100644
--- a/tests/test-basic.c
+++ b/tests/test-basic.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
diff --git a/tests/test-default-action.c b/tests/test-default-action.c
index 0b763ef..8327417 100644
--- a/tests/test-default-action.c
+++ b/tests/test-default-action.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
@@ -55,14 +55,14 @@ main()
dbus_connection_setup_with_g_main(conn, NULL);
n = notify_send_notification(NULL, // replaces nothing
- "presence.online",
- NOTIFY_URGENCY_NORMAL,
- "Matt is online", NULL,
- NULL, // no icon
- FALSE, 0, // does not expire
- NULL, // no user data
- 1,
- 0, "default", callback); // 1 action
+ "presence.online",
+ NOTIFY_URGENCY_NORMAL,
+ "Matt is online", NULL,
+ NULL, // no icon
+ FALSE, 0, // does not expire
+ NULL, // no user data
+ 1,
+ 0, "default", callback); // 1 action
if (!n) {
fprintf(stderr, "failed to send notification\n");
diff --git a/tests/test-error.c b/tests/test-error.c
index 094ffbc..227a772 100644
--- a/tests/test-error.c
+++ b/tests/test-error.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
diff --git a/tests/test-image.c b/tests/test-image.c
index a12728b..726f744 100644
--- a/tests/test-image.c
+++ b/tests/test-image.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
diff --git a/tests/test-markup.c b/tests/test-markup.c
index b2f9a29..9843884 100644
--- a/tests/test-markup.c
+++ b/tests/test-markup.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
diff --git a/tests/test-multi-actions.c b/tests/test-multi-actions.c
index 94e0cb3..039a83d 100644
--- a/tests/test-multi-actions.c
+++ b/tests/test-multi-actions.c
@@ -10,7 +10,7 @@
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
@@ -43,9 +43,9 @@ static void callback(NotifyHandle *handle, guint32 uid, void *user_data)
switch (uid)
{
- case 0: s = "the notification"; break;
- case 1: s = "Empty Trash"; break;
- case 2: s = "Help Me"; break;
+ case 0: s = "the notification"; break;
+ case 1: s = "Empty Trash"; break;
+ case 2: s = "Help Me"; break;
}
printf("You clicked %s\n", s);
@@ -64,22 +64,22 @@ int main() {
dbus_connection_setup_with_g_main(conn, NULL);
n = notify_send_notification(NULL, // replaces nothing
- "device",
- NOTIFY_URGENCY_NORMAL,
- "Low disk space",
- "You can free up some disk space by "
- "emptying the trash can.",
- NULL, // no icon
- FALSE, 0, // does not expire
- NULL, // no user data
- 3, // 3 actions
- 0, "default", callback,
- 1, "Empty Trash", callback,
- 2, "Help Me", callback );
+ "device",
+ NOTIFY_URGENCY_NORMAL,
+ "Low disk space",
+ "You can free up some disk space by "
+ "emptying the trash can.",
+ NULL, // no icon
+ FALSE, 0, // does not expire
+ NULL, // no user data
+ 3, // 3 actions
+ 0, "default", callback,
+ 1, "Empty Trash", callback,
+ 2, "Help Me", callback );
if (!n) {
- fprintf(stderr, "failed to send notification\n");
- return 1;
+ fprintf(stderr, "failed to send notification\n");
+ return 1;
}
g_main_loop_run(loop);