Made gtksourceview_gettext return const char*

master
Yevgen Muntyan 2005-07-25 07:58:29 +00:00
parent af34545c24
commit aa7243eb99
2 changed files with 14 additions and 2 deletions

View File

@ -20,13 +20,19 @@
* Boston, MA 02111-1307, USA.
*/
/*****************************************************************************
* Changed by Muntyan
*
* 07/24/2005: made gtksourceview_gettext return const char*
*****************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "gtksourceview-i18n.h"
char *
const char *
gtksourceview_gettext (const char *msgid)
{
static gboolean initialized = FALSE;

View File

@ -28,6 +28,12 @@
* Author: Tom Tromey <tromey@creche.cygnus.com>
*/
/*****************************************************************************
* Changed by Muntyan
*
* 07/24/2005: made gtksourceview_gettext return const char*
*****************************************************************************/
#ifndef __GTKSOURCEVIEW_18N_H__
#define __GTKSOURCEVIEW_18N_H__ 1
@ -65,7 +71,7 @@ G_BEGIN_DECLS
# define N_(String) (String)
#endif
char *gtksourceview_gettext (const char *msgid);
const char *gtksourceview_gettext (const char *msgid);
G_END_DECLS