From b87d9405be375ac5a5a690f10f6ec13fccd8e3bd Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Tue, 14 Jun 2011 09:01:25 +0200 Subject: [PATCH] GDesktopAppInfo: Fix declaration of g_desktop_app_info_get_nodisplay --- gio/gdesktopappinfo.c | 2 +- gio/gdesktopappinfo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c index dc8e06663..97618952a 100644 --- a/gio/gdesktopappinfo.c +++ b/gio/gdesktopappinfo.c @@ -685,7 +685,7 @@ g_desktop_app_info_get_generic_name (GDesktopAppInfo *info) * * Since: 2.30 */ -const char * +gboolean g_desktop_app_info_get_nodisplay (GDesktopAppInfo *info) { return info->nodisplay; diff --git a/gio/gdesktopappinfo.h b/gio/gdesktopappinfo.h index 21bb22d56..89391898e 100644 --- a/gio/gdesktopappinfo.h +++ b/gio/gdesktopappinfo.h @@ -52,7 +52,7 @@ const char * g_desktop_app_info_get_filename (GDesktopAppInfo *info); const char * g_desktop_app_info_get_generic_name (GDesktopAppInfo *info); const char * g_desktop_app_info_get_categories (GDesktopAppInfo *info); -gbooolean g_desktop_app_info_get_nodisplay (GDesktopAppInfo *info); +gboolean g_desktop_app_info_get_nodisplay (GDesktopAppInfo *info); GDesktopAppInfo *g_desktop_app_info_new (const char *desktop_id); gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *info);