GtkFontChooser: Cleanup comments and fix indentation alignments
This commit is contained in:
committed by
Matthias Clasen
parent
e3f70857af
commit
cabfcbd18d
@ -1,12 +1,5 @@
|
|||||||
/* GTK - The GIMP Toolkit
|
/* GTK - The GIMP Toolkit
|
||||||
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
|
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
|
||||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
||||||
*
|
|
||||||
* Massively updated to rework the user interface by Alberto Ruiz, 2011
|
|
||||||
* Massively updated for Pango by Owen Taylor, May 2000
|
|
||||||
* 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -483,7 +476,9 @@ cursor_changed_cb (GtkTreeView *treeview, gpointer data)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
zoom_preview_cb (GtkWidget *scrolled_window, GdkEventScroll *event, gpointer data)
|
zoom_preview_cb (GtkWidget *scrolled_window,
|
||||||
|
GdkEventScroll *event,
|
||||||
|
gpointer data)
|
||||||
{
|
{
|
||||||
GtkFontChooserPrivate *priv = (GtkFontChooserPrivate*)data;
|
GtkFontChooserPrivate *priv = (GtkFontChooserPrivate*)data;
|
||||||
|
|
||||||
@ -905,9 +900,9 @@ gtk_font_chooser_ref_face (GtkFontChooser *fontchooser,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*
|
||||||
* These functions are the main public interface for getting/setting the font.
|
* These functions are the main public interface for getting/setting the font.
|
||||||
*****************************************************************************/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_font_chooser_get_family:
|
* gtk_font_chooser_get_family:
|
||||||
|
|||||||
@ -1,12 +1,5 @@
|
|||||||
/* GTK - The GIMP Toolkit
|
/* GTK - The GIMP Toolkit
|
||||||
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
|
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
|
||||||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
||||||
*
|
|
||||||
* Massively updated to rework the user interface by Alberto Ruiz, 2011
|
|
||||||
* Massively updated for Pango by Owen Taylor, May 2000
|
|
||||||
* 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
|||||||
@ -63,12 +63,6 @@ struct _GtkFontChooserDialogClass
|
|||||||
void (*_gtk_reserved4) (void);
|
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;
|
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_new (const gchar *title);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user