Lines Matching refs:new_info
4090 GWin32AppInfo *new_info; in g_win32_app_info_new_from_app() local
4095 new_info = g_object_new (G_TYPE_WIN32_APP_INFO, NULL); in g_win32_app_info_new_from_app()
4097 new_info->app = g_object_ref (app); in g_win32_app_info_new_from_app()
4103 g_hash_table_iter_init (&iter, new_info->app->supported_exts); in g_win32_app_info_new_from_app()
4111 new_info->supported_types = g_new (gchar *, i + 1); in g_win32_app_info_new_from_app()
4114 g_hash_table_iter_init (&iter, new_info->app->supported_exts); in g_win32_app_info_new_from_app()
4121 new_info->supported_types[i] = g_strdup ((gchar *) ext); in g_win32_app_info_new_from_app()
4127 new_info->supported_types[i] = NULL; in g_win32_app_info_new_from_app()
4129 new_info->handler = handler ? g_object_ref (handler) : NULL; in g_win32_app_info_new_from_app()
4131 return G_APP_INFO (new_info); in g_win32_app_info_new_from_app()
4139 GWin32AppInfo *new_info; in g_win32_app_info_dup() local
4141 new_info = g_object_new (G_TYPE_WIN32_APP_INFO, NULL); in g_win32_app_info_dup()
4144 new_info->app = g_object_ref (info->app); in g_win32_app_info_dup()
4147 new_info->handler = g_object_ref (info->handler); in g_win32_app_info_dup()
4149 new_info->startup_notify = info->startup_notify; in g_win32_app_info_dup()
4158 new_info->supported_types = g_new (gchar *, i + 1); in g_win32_app_info_dup()
4161 new_info->supported_types[i] = g_strdup (info->supported_types[i]); in g_win32_app_info_dup()
4163 new_info->supported_types[i] = NULL; in g_win32_app_info_dup()
4166 return G_APP_INFO (new_info); in g_win32_app_info_dup()