Lines Matching refs:info
75 GWin32AppInfo *info;
77 info = G_WIN32_APP_INFO (object);
79 g_free (info->id);
80 g_free (info->id_utf8);
81 g_free (info->name);
82 g_free (info->executable);
109 GWin32AppInfo *info;
112 info = g_object_new (G_TYPE_WIN32_APP_INFO, NULL);
113 info->id = id; /* Takes ownership */
114 info->id_utf8 = g_utf16_to_utf8 (id, -1, NULL, NULL, NULL);
115 info->id_is_exename = id_is_exename;
129 info->executable = g_utf16_to_utf8 (buffer, -1, NULL, NULL, NULL);
138 info->name = g_utf16_to_utf8 (buffer, -1, NULL, NULL, NULL);
141 if (info->name == NULL)
144 if (info->executable)
145 info->name = g_path_get_basename (info->executable);
147 info->name = g_strdup (info->id_utf8);
153 info->id,
159 info->no_open_with = TRUE;
164 return G_APP_INFO (info);
179 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo);
184 new_info->id = dup_wstring (info->id);
185 new_info->id_utf8 = g_strdup (info->id_utf8);
186 new_info->id_is_exename = info->id_is_exename;
187 new_info->name = g_strdup (info->name);
188 new_info->executable = g_strdup (info->executable);
189 new_info->no_open_with = info->no_open_with;
211 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo);
213 return info->id_utf8;
219 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo);
221 if (info->name == NULL)
224 return info->name;
237 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo);
239 return info->executable;
245 /* GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo); */
257 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo);
268 if (info->id_is_exename)
273 info->id,
343 GWin32AppInfo *info = G_WIN32_APP_INFO (appinfo);
345 if (info->no_open_with)
496 app_info_in_list (GAppInfo *info,
501 if (g_app_info_equal (info, list->data))
563 GAppInfo *info;
566 info = g_desktop_app_info_new_from_id ((wchar_t *)l->data, TRUE);
567 if (app_info_in_list (info, infos))
568 g_object_unref (info);
570 infos = g_list_prepend (infos, info);
576 GAppInfo *info;
579 info = g_desktop_app_info_new_from_id ((wchar_t *)l->data, FALSE);
580 if (app_info_in_list (info, infos))
581 g_object_unref (info);
583 infos = g_list_prepend (infos, info);
633 GAppInfo *info;
653 info = g_desktop_app_info_new_from_id (name_dup, TRUE);
654 infos = g_list_prepend (infos, info);