Made gtksourceview_gettext return const char*
parent
af34545c24
commit
aa7243eb99
|
@ -20,13 +20,19 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* Changed by Muntyan
|
||||||
|
*
|
||||||
|
* 07/24/2005: made gtksourceview_gettext return const char*
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gtksourceview-i18n.h"
|
#include "gtksourceview-i18n.h"
|
||||||
|
|
||||||
char *
|
const char *
|
||||||
gtksourceview_gettext (const char *msgid)
|
gtksourceview_gettext (const char *msgid)
|
||||||
{
|
{
|
||||||
static gboolean initialized = FALSE;
|
static gboolean initialized = FALSE;
|
||||||
|
|
|
@ -28,6 +28,12 @@
|
||||||
* Author: Tom Tromey <tromey@creche.cygnus.com>
|
* Author: Tom Tromey <tromey@creche.cygnus.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* Changed by Muntyan
|
||||||
|
*
|
||||||
|
* 07/24/2005: made gtksourceview_gettext return const char*
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifndef __GTKSOURCEVIEW_18N_H__
|
#ifndef __GTKSOURCEVIEW_18N_H__
|
||||||
#define __GTKSOURCEVIEW_18N_H__ 1
|
#define __GTKSOURCEVIEW_18N_H__ 1
|
||||||
|
|
||||||
|
@ -65,7 +71,7 @@ G_BEGIN_DECLS
|
||||||
# define N_(String) (String)
|
# define N_(String) (String)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *gtksourceview_gettext (const char *msgid);
|
const char *gtksourceview_gettext (const char *msgid);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue