Skip to content
Permalink
Browse files

add mate-language apis

  • Loading branch information...
yetist authored and raveit65 committed Jun 16, 2018
1 parent 3ee67b3 commit ecf2fbdb7cbad7f8e7dfef8efcbce82308739c02
@@ -187,7 +187,10 @@ AC_SUBST(RANDR_PACKAGE)

dnl pkg-config dependency checks

PKG_CHECK_MODULES(MATE_DESKTOP, gdk-pixbuf-2.0 gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GIO_REQUIRED $STARTUP_NOTIFICATION_PACKAGE $RANDR_PACKAGE)
PKG_CHECK_MODULES(MATE_DESKTOP, gdk-pixbuf-2.0 gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED gio-2.0 >= $GIO_REQUIRED $STARTUP_NOTIFICATION_PACKAGE $RANDR_PACKAGE iso-codes)

ISO_CODES_PREFIX=$($PKG_CONFIG --variable prefix iso-codes)
AC_SUBST(ISO_CODES_PREFIX)

PKG_CHECK_MODULES(MATE_ABOUT, gtk+-3.0 >= $GTK_REQUIRED)
AC_SUBST(MATE_ABOUT_CFLAGS)
@@ -36,6 +36,11 @@ The libmate-desktop library contains APIs that can be useful for a few applicati
<xi:include href="xml/mate-desktop-thumbnail.xml"/>
</part>

<part id="languages">
<title>Language Utilities</title>
<xi:include href="xml/mate-languages.xml"/>
</part>

<part id="libmate">
<title>Miscellaneous</title>
<xi:include href="xml/mate-desktop-item.xml"/>
@@ -268,6 +268,19 @@ MATE_DESKTOP_IS_THUMBNAIL_FACTORY_CLASS
MateDesktopThumbnailFactoryClass
</SECTION>

<SECTION>
<FILE>mate-languages</FILE>
<TITLE>Language Utilities</TITLE>
mate_get_all_locales
mate_get_country_from_code
mate_get_country_from_locale
mate_get_language_from_code
mate_get_language_from_locale
mate_normalize_locale
mate_parse_locale
mate_language_has_translations
</SECTION>

<SECTION>
<INCLUDE>mate-desktop-utils.h</INCLUDE>
<FILE>mate-desktop-utils</FILE>
@@ -9,6 +9,7 @@ libmate_desktop_HEADERS = \
mate-bg-crossfade.h \
mate-desktop-thumbnail.h \
mate-rr.h \
mate-languages.h \
mate-rr-config.h \
mate-rr-labeler.h \
mate-colorbutton.h \
@@ -24,6 +25,7 @@ AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"MateDesktop\" \
-DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale\"" \
-DPNP_IDS=\""$(PNP_IDS)"\" \
-DISO_CODES_PREFIX=\""$(ISO_CODES_PREFIX)"\" \
$(DISABLE_DEPRECATED_CFLAGS)

AM_CFLAGS = $(WARN_CFLAGS)
@@ -42,6 +44,7 @@ introspection_sources = \
mate-bg-crossfade.c \
display-name.c \
mate-rr.c \
mate-languages.c \
mate-rr-config.c \
mate-rr-output-info.c \
mate-rr-labeler.c \
Oops, something went wrong.

0 comments on commit ecf2fbd

Please sign in to comment.
You can’t perform that action at this time.