*
* Creates a new #GApplication instance.
*
- * This function calls g_type_init() for you.
- *
* If non-%NULL, the application id must be valid. See
* g_application_id_is_valid().
*
{
g_return_val_if_fail (application_id == NULL || g_application_id_is_valid (application_id), NULL);
- g_type_init ();
-
return g_object_new (G_TYPE_APPLICATION,
"application-id", application_id,
"flags", flags,
completion_cur = NULL;
completion_prev = NULL;
- g_type_init ();
-
if (argc < 2)
{
usage (&argc, &argv, FALSE);
if (g_getenv ("GDBUS_DAEMON_DEBUG") != NULL)
open_console_window ();
- g_type_init ();
-
loop = g_main_loop_new (NULL, FALSE);
address = "nonce-tcp:";
{
int i;
- g_type_init ();
-
if (argc == 1)
{
g_print ("Usage: gio-querymodules <directory1> [<directory2> ...]\n");
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif
- g_type_init ();
-
context = g_option_context_new (N_("FILE"));
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
g_option_context_set_summary (context,
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#endif
- g_type_init ();
-
if (argc < 2)
return cmd_help (FALSE, NULL);
else
return gsettings_help (FALSE, argv[1]);
- g_type_init ();
-
if (argc > 2)
{
gchar **parts;
int
main (int argc, char **argv)
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/actions/basic", test_basic);
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/appinfo/basic", test_basic);
{
SetupData *data;
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
int
main (int argc, char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/buffered-output-stream/write", test_write);
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/cancellable/multiple-concurrent", test_cancel_multiple_concurrent);
int
main (int argc, char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/contenttype/guess", test_guess);
GError *error = NULL;
int ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_file_get_contents (TEST_FILE, &test_file_buffer,
gint i;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/data-input-stream/basic", test_basic);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/data-output-stream/basic", test_basic);
{
gint result;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
basedir = g_get_current_dir ();
GOptionContext *context;
GError *error = NULL;
- g_type_init ();
-
context = g_option_context_new (" - Test GSocket server stuff");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
int
main (int argc, char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/file/basic", test_basic);
int
main (int argc, char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/fileattributematcher/exact", test_exact);
GFile *file;
int i;
- g_type_init ();
-
context =
g_option_context_new ("LOCATION... - concatenate LOCATIONS "
"to standard output.");
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
- g_type_init ();
g_test_add_func ("/filter-stream/input", test_input_filter);
g_test_add_func ("/filter-stream/output", test_output_filter);
#if 0
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/g-file-info/test_g_file_info", test_g_file_info);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/icons/serialize", test_g_icon_serialize);
{
g_return_val_if_fail (g_application_id_is_valid (application_id), NULL);
- g_type_init ();
-
return g_object_new (test_application_get_type (),
"application-id", application_id,
"flags", flags,
{
g_return_val_if_fail (g_application_id_is_valid (application_id), NULL);
- g_type_init ();
-
return g_object_new (test_application_get_type (),
"application-id", application_id,
"flags", flags,
int
main (int argc, char **argv)
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_dbus_unset ();
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gdbus/empty-address", test_empty_address);
setlocale (LC_ALL, "C");
- g_type_init ();
g_test_init (&argc, &argv, NULL);
session_bus_up ();
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_dbus_unset ();
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add ("/gdbus/close-pending", Fixture, "close",
GError *error;
gboolean ret;
- g_type_init ();
-
error = NULL;
c = g_bus_get_sync (G_BUS_TYPE_SESSION,
NULL, /* GCancellable* */
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add ("/gdbus/connection/flush/busy", Fixture, NULL,
GError *error;
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* all the tests rely on a shared main loop */
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* all the tests rely on a shared main loop */
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* all the tests rely on a shared main loop */
{ NULL }
};
- g_type_init ();
-
context = g_option_context_new ("");
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
g_option_context_set_summary (context,
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gdbus/registered-errors", test_registered_errors);
GMainLoop *loop;
MyObject *myobj;
- g_type_init ();
-
/* We are lazy here - we don't want to manually provide
* the introspection data structures - so we just build
* them from XML.
manager = NULL;
loop = NULL;
- g_type_init ();
-
loop = g_main_loop_new (NULL, FALSE);
error = NULL;
GMainLoop *loop;
guint id;
- g_type_init ();
-
loop = g_main_loop_new (NULL, FALSE);
id = g_bus_own_name (G_BUS_TYPE_SESSION,
{ NULL}
};
- g_type_init ();
-
error = NULL;
opt_name = NULL;
opt_replace = FALSE;
ret = 1;
- g_type_init ();
-
opt_address = NULL;
opt_server = FALSE;
opt_allow_anonymous = FALSE;
guint owner_id;
GMainLoop *loop;
- g_type_init ();
-
/* We are lazy here - we don't want to manually provide
* the introspection data structures - so we just build
* them from XML.
guint owner_id;
GMainLoop *loop;
- g_type_init ();
-
/* We are lazy here - we don't want to manually provide
* the introspection data structures - so we just build
* them from XML.
guint watcher_id;
GMainLoop *loop;
- g_type_init ();
-
watcher_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
"org.gtk.GDBus.TestServer",
G_BUS_NAME_WATCHER_FLAGS_NONE,
GError *error;
GBusNameWatcherFlags flags;
- g_type_init ();
-
error = NULL;
opt_context = g_option_context_new ("g_bus_watch_name() example");
g_option_context_set_summary (opt_context,
GDBusProxyFlags flags;
GDBusProxy *proxy;
- g_type_init ();
-
loop = NULL;
proxy = NULL;
{
gint i;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
for (i = 0; cases[i].name != NULL; i++)
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* all the tests rely on a shared main loop */
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* all the tests rely on a shared main loop */
{
setlocale (LC_ALL, "C");
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gdbus/message/lock", message_lock);
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
loop = g_main_loop_new (NULL, FALSE);
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gdbus/non-socket", test_non_socket);
GDBusNodeInfo *introspection_data = NULL;
gchar *tmpdir = NULL;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
introspection_data = g_dbus_node_info_new_for_xml (test_interface_introspection_xml, NULL);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_dbus_unset ();
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* all the tests rely on a shared main loop */
gint ret;
GDBusNodeInfo *introspection_data = NULL;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
introspection_data = g_dbus_node_info_new_for_xml (frob_dbus_interface_xml, NULL);
{
setlocale (LC_ALL, "C");
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("https://bugzilla.gnome.org/show_bug.cgi?id=");
{
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
session_bus_up ();
GError *error;
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
session_bus_up ();
gboolean ret;
g_test_init (&argc, &argv, NULL);
- g_type_init ();
session_bus_up ();
setlocale (LC_ALL, "");
- g_type_init ();
g_test_init (&argc, &argv, NULL);
for (i = 0; i < G_N_ELEMENTS (tests); ++i)
if (!backend_set)
g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_remove ("org.gtk.test.enums.xml");
GOptionContext *context;
GError *error = NULL;
- g_type_init ();
-
context = g_option_context_new ("<http root dir> - Simple HTTP server");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/inet-address/parse", test_parse);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/io-stream/copy-chunks", test_copy_chunks);
posix_compat = FALSE;
/* strip all gtester-specific args */
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* no extra parameters specified, assume we're executed from glib test suite */
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/memory-input-stream/read-chunks", test_read_chunks);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
setup ();
gint i;
gchar *path;
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/network-address/basic", test_basic);
{
int ret;
- g_type_init ();
-
if (argc == 2 && !strcmp (argv[1], "--watch"))
{
do_watch_network ();
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/permission/simple", test_simple);
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
#ifdef G_OS_UNIX
GCancellable *cancellable;
gint result;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
/* Register stuff. The dummy g_proxy_get_default_for_protocol() call
gboolean cancel = FALSE;
ProxyTestType type = USE_RESOLVER;
- g_type_init ();
-
while (argc >= 2 && argv[1][0] == '-')
{
if (!strcmp (argv[1], "-s"))
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/readwrite/test_g_file_open_readwrite",
guint watch;
#endif
- g_type_init ();
-
context = g_option_context_new ("lookups ...");
g_option_context_add_main_entries (context, option_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
_g_test2_register_resource ();
GError *error = NULL;
char buffer[1000];
- g_type_init ();
-
context = g_option_context_new (" <hostname>[:port] - send data to tcp host");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
int
main (int argc, char **argv)
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gio/simple-async-result/test", test_simple_async);
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
- g_type_init ();
g_test_add_func ("/filter-stream/input", test);
g_test_add_func ("/filter-stream/async", asynch);
GTlsCertificate *certificate = NULL;
gint i;
- g_type_init ();
-
address = NULL;
connection = NULL;
GInputStream *istream;
GOutputStream *ostream;
- g_type_init ();
-
context = g_option_context_new (" - Test GSocket server stuff");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/socket/ipv4_sync", test_ipv4_sync);
int
main (int argc, char **argv)
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/srvtarget/srv-target-ordering", test_srv_target_ordering);
{
int ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
loop = g_main_loop_new (NULL, FALSE);
Reference ref;
GError *error = NULL;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
_g_test_tls_backend_get_type ();
GPtrArray *fixtures;
gint ret;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
fixtures = g_ptr_array_new_with_free_func (g_free);
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
-
g_test_add_func ("/unix-streams/file-descriptors", test_fds);
return g_test_run();
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/unix-streams/basic", test_basic);
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gvfs/local", test_local);
g_setenv ("GIO_USE_VFS", "local", FALSE);
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
monitor = g_volume_monitor_get ();
main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/win32-streams/pipe-io-test", test_pipe_io);
root = G_TYPE_OBJECT;
- g_type_init ();
-
for (i = 1; i < argc; i++)
{
if (strcmp ("-s", argv[i]) == 0)
* GValue b = G_VALUE_INIT;
* const gchar *message;
*
- * g_type_init ();
- *
* /* The GValue starts empty */
* g_assert (!G_VALUE_HOLDS_STRING (&a));
*
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init_with_debug_flags (G_TYPE_DEBUG_OBJECTS | G_TYPE_DEBUG_SIGNALS);
/* test new fundamentals */
g_assert (G_TYPE_MAKE_FUNDAMENTAL (G_TYPE_RESERVED_USER_FIRST) == g_type_fundamental_next ());
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/boxed/define", test_define_boxed);
char *argv[])
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
g_test_add_func ("/GObject/threaded-dynamic-ref-unref-init", test_multithreaded_dynamic_type_init);
g_test_add_func ("/GObject/dynamic-interface-properties", test_dynamic_interface_properties);
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/enum/basic", test_enum_basic);
int
main (int argc, char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/param/value", test_param_value);
int
main (int argc, char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/");
main (int argc, char **argv)
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
+
fail = !!g_getenv ("FAIL");
g_test_add_func ("/qdata/threaded", test_qdata_threaded);
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
-
g_test_add_func ("/type/fundamentals", test_fundamentals);
g_test_add_func ("/type/qdata", test_type_qdata);
g_test_add_func ("/type/query", test_type_query);
main (int argc,
char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/gobject/signals/all-types", test_all_types);
char *argv[])
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
g_test_add_func ("/GObject/threaded-class-init", test_threaded_class_init);
g_test_add_func ("/GObject/threaded-object-init", test_threaded_object_init);
int
main (int argc, char *argv[])
{
- g_type_init ();
-
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/valuearray/basic", test_basic);
GError *error = NULL;
int i;
- g_type_init ();
-
context = g_option_context_new(_("[FILE...]"));
g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE);
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init ();
object = g_object_new (TEST_TYPE_OBJECT, NULL);
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init ();
test_static_iface ();
test_dynamic_iface ();
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init ();
test_dynamic_type ();
main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
g_test_add_func ("/gvalue/enum-transformation", test_enum_transformation);
g_test_add_func ("/gvalue/gtype", test_gtype_value);
char *string1 = "A";
char *string2 = "B";
- g_type_init ();
-
/* Basic check of interfaces added before class_init time
*/
g_type_add_interface_check (string1, check_func);
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init ();
/* Register BaseObject */
BASE_TYPE_OBJECT;
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init ();
/* We force the interfaces to be registered in a different order
* than we add them, so our logic doesn't always deal with interfaces
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init();
test (TEST_TYPE_A, "foo", "TestA::foo,TestI::foo", NULL);
test (TEST_TYPE_A, "bar", "TestA::bar", NULL);
main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
- g_type_init ();
g_test_add_func ("/paramspec/char", test_param_spec_char);
g_test_add_func ("/paramspec/string", test_param_spec_string);
GError *error = NULL;
int i;
- g_type_init ();
-
context = g_option_context_new ("GObject performance tests");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
GError *error = NULL;
int i;
- g_type_init ();
-
context = g_option_context_new ("GObject performance tests");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))
g_log_set_always_fatal (g_log_set_always_fatal (G_LOG_FATAL_MASK) |
G_LOG_LEVEL_WARNING |
G_LOG_LEVEL_CRITICAL);
- g_type_init ();
/* Test basic weak reference operation
*/
char *argv[])
{
MySingleton *singleton, *obj;
- g_type_init_with_debug_flags (G_TYPE_DEBUG_OBJECTS | G_TYPE_DEBUG_SIGNALS);
+
/* create the singleton */
singleton = g_object_new (MY_TYPE_SINGLETON, NULL);
g_assert (singleton != NULL);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
object = g_object_new (G_TYPE_TEST, NULL);
closure = g_cclosure_new (G_CALLBACK (test_signal_handler), TEST_POINTER2, destroy_data);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
test1 = g_object_new (G_TYPE_TEST, NULL);
test2 = g_object_new (G_TYPE_TEST, NULL);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
test = g_object_new (G_TYPE_TEST, NULL);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
test_objects = g_array_new (FALSE, FALSE, sizeof (GTest *));
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
-
+
test = g_object_new (G_TYPE_TEST, NULL);
g_signal_connect (test, "notify::dummy", G_CALLBACK (dummy_notify), NULL);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
test = g_object_new (G_TYPE_TEST, NULL);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
badger1 = g_object_new (MY_TYPE_BADGER, NULL);
badger2 = g_object_new (MY_TYPE_BADGER, NULL);
g_print ("START: %s\n", argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | g_log_set_always_fatal (G_LOG_FATAL_MASK));
- g_type_init ();
test1 = g_object_new (G_TYPE_TEST, NULL);
test2 = g_object_new (G_TYPE_TEST, NULL);
struct rusage old_usage;
struct rusage new_usage;
- g_type_init ();
-
if (argc > 1)
n_children = atoi(argv[1]);