mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-10 12:40:10 +00:00
gtk-launch: Fix compilation with MSVC
This commit is contained in:
parent
a4fe15d9f0
commit
00842f4d4e
@ -21,7 +21,9 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
@ -136,7 +138,9 @@ main (int argc, char *argv[])
|
|||||||
info = G_APP_INFO (g_desktop_app_info_new (desktop_file_name));
|
info = G_APP_INFO (g_desktop_app_info_new (desktop_file_name));
|
||||||
g_free (desktop_file_name);
|
g_free (desktop_file_name);
|
||||||
#else
|
#else
|
||||||
|
#ifndef _MSC_VER
|
||||||
#warning Please add support for creating AppInfo from id for your OS
|
#warning Please add support for creating AppInfo from id for your OS
|
||||||
|
#endif
|
||||||
g_printerr (_("Creating AppInfo from id not supported on non unix operating systems"));
|
g_printerr (_("Creating AppInfo from id not supported on non unix operating systems"));
|
||||||
#endif
|
#endif
|
||||||
args++;
|
args++;
|
||||||
|
Loading…
Reference in New Issue
Block a user