diff options
author | Alberto Ruiz <aruiz@gnome.org> | 2011-07-19 23:43:57 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@gnome.org> | 2011-07-25 15:11:20 +0100 |
commit | 5449544f3b8f3fb77001e52338078f32c060e474 (patch) | |
tree | d6e29a8a726dc1509cc580d42f1e696ef0a4e12d | |
parent | da7d819988f7f5c2aecc4811d99065b839f9d04f (diff) | |
download | gtk+-5449544f3b8f3fb77001e52338078f32c060e474.tar.gz |
GtkFontChooser: Cleanup comments and fix indentation alignments
-rw-r--r-- | gtk/gtkfontchooser.c | 27 | ||||
-rw-r--r-- | gtk/gtkfontchooserdialog.c | 7 | ||||
-rw-r--r-- | gtk/gtkfontchooserdialog.h | 6 |
3 files changed, 11 insertions, 29 deletions
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c index 65efc1d391..33f6a7f5b0 100644 --- a/gtk/gtkfontchooser.c +++ b/gtk/gtkfontchooser.c @@ -1,12 +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 - * - * 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 * modify it under the terms of the GNU Lesser General Public @@ -201,9 +194,9 @@ gtk_font_chooser_class_init (GtkFontChooserClass *klass) static void gtk_font_chooser_set_property (GObject *object, - guint prop_id, - const GValue *value, - GParamSpec *pspec) + guint prop_id, + const GValue *value, + GParamSpec *pspec) { GtkFontChooser *fontchooser; @@ -377,9 +370,9 @@ spin_change_cb (GtkAdjustment *adjustment, gpointer data) void set_range_marks (GtkFontChooserPrivate *priv, - GtkWidget* size_slider, - gint* sizes, - gint length) + GtkWidget *size_slider, + gint *sizes, + gint length) { GtkAdjustment *adj; gint i; @@ -483,7 +476,9 @@ cursor_changed_cb (GtkTreeView *treeview, gpointer data) } 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; @@ -905,9 +900,9 @@ gtk_font_chooser_ref_face (GtkFontChooser *fontchooser, } -/***************************************************************************** +/* * These functions are the main public interface for getting/setting the font. - *****************************************************************************/ + */ /** * gtk_font_chooser_get_family: diff --git a/gtk/gtkfontchooserdialog.c b/gtk/gtkfontchooserdialog.c index d0ebb3390c..bd0d7ca390 100644 --- a/gtk/gtkfontchooserdialog.c +++ b/gtk/gtkfontchooserdialog.c @@ -1,12 +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 - * - * 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 * modify it under the terms of the GNU Lesser General Public diff --git a/gtk/gtkfontchooserdialog.h b/gtk/gtkfontchooserdialog.h index 7b5889399c..870815c3e4 100644 --- a/gtk/gtkfontchooserdialog.h +++ b/gtk/gtkfontchooserdialog.h @@ -63,12 +63,6 @@ struct _GtkFontChooserDialogClass 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); |