/* GTK - The GIMP Toolkit
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
- *
- * GtkFontChooser widget for Gtk+, by Damon Chaplin, May 1998.
- * Based on the GnomeFontSelector widget, by Elliot Lee, but major changes.
- * The GnomeFontSelector was derived from app/text_tool.c in the GIMP.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef __GTK_FONT_CHOOSER_DIALOG_H__
+#define __GTK_FONT_CHOOSER_DIALOG_H__
+
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#ifndef __GTK_FONT_CHOOSER_DIALOG_H__
-#define __GTK_FONT_CHOOSER_DIALOG_H__
-
#include <gtk/gtkdialog.h>
G_BEGIN_DECLS
void (*_gtk_reserved4) (void);
};
-/*****************************************************************************
- * GtkFontChooserDialog functions.
- * most of these functions simply call the corresponding function in the
- * GtkFontChooser.
- *****************************************************************************/
-
-GType gtk_font_chooser_dialog_get_type (void) G_GNUC_CONST;
-GtkWidget* gtk_font_chooser_dialog_new (const gchar *title);
-
-GtkWidget* gtk_font_chooser_dialog_get_font_selection (GtkFontChooserDialog *fcd);
-
-gchar* gtk_font_chooser_dialog_get_font_name (GtkFontChooserDialog *fcd);
-
-gboolean gtk_font_chooser_dialog_set_font_name (GtkFontChooserDialog *fcd,
- const gchar *fontname);
-G_CONST_RETURN gchar*
- gtk_font_chooser_dialog_get_preview_text (GtkFontChooserDialog *fcd);
-
-void gtk_font_chooser_dialog_set_preview_text (GtkFontChooserDialog *fcd,
- const gchar *text);
+GDK_AVAILABLE_IN_3_2
+GType gtk_font_chooser_dialog_get_type (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_3_2
+GtkWidget* gtk_font_chooser_dialog_new (const gchar *title,
+ GtkWindow *parent);
G_END_DECLS