X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkfontchooserdialog.h;h=d4a18e58266138a4516b5c017a96e4256a92b140;hb=e1edc998a2e9c557030d207533932b3120e13fe5;hp=b4f8041e46eb3d1c8fb7971acc85ca3bcfaabadd;hpb=01f279338fd16471d1000688cf55c1830b19cd3d;p=~andy%2Fgtk diff --git a/gtk/gtkfontchooserdialog.h b/gtk/gtkfontchooserdialog.h index b4f8041e4..d4a18e582 100644 --- a/gtk/gtkfontchooserdialog.h +++ b/gtk/gtkfontchooserdialog.h @@ -12,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 @@ -58,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