Update for gio API changes

2007-12-20  Alexander Larsson  <alexl@redhat.com>

        * gdk/x11/gdkapplaunchcontext-x11.c:
	Update for gio API changes


svn path=/trunk/; revision=19208
This commit is contained in:
Alexander Larsson
2007-12-20 13:40:04 +00:00
committed by Alexander Larsson
parent 14ae647a37
commit 2003e0ffa0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-12-20 Alexander Larsson <alexl@redhat.com>
* gdk/x11/gdkapplaunchcontext-x11.c:
Update for gio API changes
2007-12-20 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c:

View File

@ -47,7 +47,7 @@ get_display_name (GFile *file)
name = NULL;
info = g_file_query_info (file,
G_FILE_ATTRIBUTE_STD_DISPLAY_NAME, 0, NULL, NULL);
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME, 0, NULL, NULL);
if (info)
{
name = g_strdup (g_file_info_get_display_name (info));
@ -77,7 +77,7 @@ get_icon (GFile *file)
GIcon *icon;
icon = NULL;
info = g_file_query_info (file, G_FILE_ATTRIBUTE_STD_ICON, 0, NULL, NULL);
info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_ICON, 0, NULL, NULL);
if (info)
{
icon = g_file_info_get_icon (info);