X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkfontchooserdialog.h;h=d4a18e58266138a4516b5c017a96e4256a92b140;hb=e1edc998a2e9c557030d207533932b3120e13fe5;hp=870815c3e46c52cf231d5573b001517be75018cc;hpb=cabfcbd18de55d262bf22e86fbca5408500c2dbc;p=~andy%2Fgtk diff --git a/gtk/gtkfontchooserdialog.h b/gtk/gtkfontchooserdialog.h index 870815c3e..d4a18e582 100644 --- a/gtk/gtkfontchooserdialog.h +++ b/gtk/gtkfontchooserdialog.h @@ -1,10 +1,5 @@ /* GTK - The GIMP Toolkit * Copyright (C) 2011 Alberto Ruiz - * 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 @@ -17,18 +12,16 @@ * 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 . */ +#ifndef __GTK_FONT_CHOOSER_DIALOG_H__ +#define __GTK_FONT_CHOOSER_DIALOG_H__ + #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif -#ifndef __GTK_FONT_CHOOSER_DIALOG_H__ -#define __GTK_FONT_CHOOSER_DIALOG_H__ - #include G_BEGIN_DECLS @@ -63,20 +56,11 @@ struct _GtkFontChooserDialogClass void (*_gtk_reserved4) (void); }; -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); -const 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