2010-10-30 16:14:30 -04:00
|
|
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
|
|
|
|
*
|
2013-01-27 23:16:14 -05:00
|
|
|
* Copyright (C) 2013 Red Hat, Inc
|
2010-10-30 16:14:30 -04:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2012-09-06 07:43:05 -04:00
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
2010-10-30 16:14:30 -04:00
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2014-01-23 12:57:27 +01:00
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2010-10-30 16:14:30 -04:00
|
|
|
*
|
|
|
|
* Written by: Matthias Clasen <mclasen@redhat.com>
|
|
|
|
*/
|
|
|
|
|
2018-06-01 12:15:08 +12:00
|
|
|
#pragma once
|
2010-10-30 16:14:30 -04:00
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
2013-01-27 23:16:14 -05:00
|
|
|
#include <glib-object.h>
|
2010-10-30 16:14:30 -04:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2018-06-29 16:50:43 +12:00
|
|
|
#define CC_TYPE_LANGUAGE_CHOOSER (cc_language_chooser_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (CcLanguageChooser, cc_language_chooser, CC, LANGUAGE_CHOOSER, GtkDialog)
|
|
|
|
|
|
|
|
CcLanguageChooser *cc_language_chooser_new (void);
|
|
|
|
void cc_language_chooser_clear_filter (CcLanguageChooser *chooser);
|
|
|
|
const gchar *cc_language_chooser_get_language (CcLanguageChooser *chooser);
|
|
|
|
void cc_language_chooser_set_language (CcLanguageChooser *chooser,
|
|
|
|
const gchar *language);
|
2010-10-30 16:14:30 -04:00
|
|
|
|
|
|
|
G_END_DECLS
|