mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Merge branch 'appinfo-shellany' into 'master'
GWin32AppInfo: Support verbs other than "open" See merge request GNOME/glib!1502
This commit is contained in:
commit
37d04c2f6b
4039
gio/gwin32appinfo.c
4039
gio/gwin32appinfo.c
File diff suppressed because it is too large
Load Diff
@ -946,7 +946,7 @@ g_win32_registry_subkey_iter_next (GWin32RegistrySubkeyIter *iter,
|
||||
**/
|
||||
gboolean
|
||||
g_win32_registry_subkey_iter_get_name_w (GWin32RegistrySubkeyIter *iter,
|
||||
gunichar2 **subkey_name,
|
||||
const gunichar2 **subkey_name,
|
||||
gsize *subkey_name_len,
|
||||
GError **error)
|
||||
{
|
||||
@ -988,7 +988,7 @@ g_win32_registry_subkey_iter_get_name_w (GWin32RegistrySubkeyIter *iter,
|
||||
**/
|
||||
gboolean
|
||||
g_win32_registry_subkey_iter_get_name (GWin32RegistrySubkeyIter *iter,
|
||||
gchar **subkey_name,
|
||||
const gchar **subkey_name,
|
||||
gsize *subkey_name_len,
|
||||
GError **error)
|
||||
{
|
||||
@ -1013,13 +1013,15 @@ g_win32_registry_subkey_iter_get_name (GWin32RegistrySubkeyIter *iter,
|
||||
&subkey_name_len_glong,
|
||||
error);
|
||||
|
||||
if (iter->subkey_name_u8 != NULL)
|
||||
{
|
||||
*subkey_name_len = subkey_name_len_glong;
|
||||
return TRUE;
|
||||
}
|
||||
if (iter->subkey_name_u8 == NULL)
|
||||
return FALSE;
|
||||
|
||||
return FALSE;
|
||||
*subkey_name = iter->subkey_name_u8;
|
||||
|
||||
if (subkey_name_len)
|
||||
*subkey_name_len = subkey_name_len_glong;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -191,12 +191,12 @@ gboolean g_win32_registry_subkey_iter_next (GWin32RegistrySubk
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_46
|
||||
gboolean g_win32_registry_subkey_iter_get_name (GWin32RegistrySubkeyIter *iter,
|
||||
gchar **subkey_name,
|
||||
const gchar **subkey_name,
|
||||
gsize *subkey_name_len,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_46
|
||||
gboolean g_win32_registry_subkey_iter_get_name_w (GWin32RegistrySubkeyIter *iter,
|
||||
gunichar2 **subkey_name,
|
||||
const gunichar2 **subkey_name,
|
||||
gsize *subkey_name_len,
|
||||
GError **error);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user