]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkfontchooserdialog.h
gtkfilechooserbutton: In tests, allow the possibility of doing unselect_all
[~andy/gtk] / gtk / gtkfontchooserdialog.h
index 870815c3e46c52cf231d5573b001517be75018cc..d4a18e58266138a4516b5c017a96e4256a92b140 100644 (file)
@@ -1,10 +1,5 @@
 /* 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
@@ -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