Lines Matching defs:gio_handle
90 void* gio_handle;
92 gio_handle = dlopen("libgio-2.0.so", RTLD_LAZY);
93 if (gio_handle == NULL) {
94 gio_handle = dlopen("libgio-2.0.so.0", RTLD_LAZY);
95 if (gio_handle == NULL) {
100 g_type_init = (g_type_init_func)dlsym(gio_handle, "g_type_init");
103 g_object_unref = (g_object_unref_func)dlsym(gio_handle, "g_object_unref");
106 (g_file_new_for_path_func)dlsym(gio_handle, "g_file_new_for_path");
109 (g_file_query_info_func)dlsym(gio_handle, "g_file_query_info");
112 dlsym(gio_handle, "g_file_info_get_content_type");
121 dlclose(gio_handle);