dbus/test/glib test-service-glib.c,NONE,1.1
Havoc Pennington
hp@pdx.freedesktop.org
Tue, 21 Oct 2003 07:05:21 -0700
- Previous message: dbus/dbus dbus-bus.c,1.26,1.27 dbus-connection.c,1.71,1.72 dbus-internals.c,1.33,1.34 dbus-internals.h,1.38,1.39 dbus-marshal.c,1.44,1.45 dbus-message-builder.c,1.19,1.20 dbus-message.c,1.110,1.111 dbus-message.h,1.46,1.47 dbus-protocol.h,1.23,1.24 dbus-string.c,1.42,1.43 dbus-string.h,1.21,1.22
- Next message: dbus ChangeLog,1.430,1.431
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/test/glib
In directory pdx:/tmp/cvs-serv13232
Added Files:
test-service-glib.c
Log Message:
add missing file
--- NEW FILE: test-service-glib.c ---
/* -*- mode: C; c-file-style: "gnu" -*- */
#include "dbus-glib.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static GMainLoop *loop;
int
main (int argc, char **argv)
{
DBusConnection *connection;
GError *error;
int i;
g_type_init ();
loop = g_main_loop_new (NULL, FALSE);
error = NULL;
connection = dbus_bus_get_with_g_main (DBUS_BUS_ACTIVATION,
&error);
if (connection == NULL)
{
g_printerr ("Failed to open connection to bus: %s\n",
error->message);
g_error_free (error);
exit (1);
}
g_print ("Successfully completed %s\n", argv[0]);
return 0;
}
- Previous message: dbus/dbus dbus-bus.c,1.26,1.27 dbus-connection.c,1.71,1.72 dbus-internals.c,1.33,1.34 dbus-internals.h,1.38,1.39 dbus-marshal.c,1.44,1.45 dbus-message-builder.c,1.19,1.20 dbus-message.c,1.110,1.111 dbus-message.h,1.46,1.47 dbus-protocol.h,1.23,1.24 dbus-string.c,1.42,1.43 dbus-string.h,1.21,1.22
- Next message: dbus ChangeLog,1.430,1.431
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]