[gtkhtml] Coding style cleanup.



commit 01f8b770cc7d552556625aa9d478071f15a7c17e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Mar 5 11:05:44 2011 -0500

    Coding style cleanup.

 components/editor/gtkhtml-color-combo.c          |    3 ++-
 components/editor/gtkhtml-color-palette.c        |    4 +++-
 components/editor/gtkhtml-color-state.c          |    3 ++-
 components/editor/gtkhtml-color-swatch.c         |    3 ++-
 components/editor/gtkhtml-combo-box.c            |    3 ++-
 components/editor/gtkhtml-editor.c               |    3 ++-
 components/editor/gtkhtml-face-action.c          |    3 ++-
 components/editor/gtkhtml-face-chooser-menu.c    |    4 +++-
 components/editor/gtkhtml-face-tool-button.c     |    4 +++-
 components/editor/gtkhtml-image-chooser-dialog.c |    4 +++-
 components/editor/gtkhtml-spell-checker.c        |    5 ++++-
 components/editor/gtkhtml-spell-dialog.c         |    3 ++-
 12 files changed, 30 insertions(+), 12 deletions(-)
---
diff --git a/components/editor/gtkhtml-color-combo.c b/components/editor/gtkhtml-color-combo.c
index 1418e1e..be6dee1 100644
--- a/components/editor/gtkhtml-color-combo.c
+++ b/components/editor/gtkhtml-color-combo.c
@@ -851,7 +851,8 @@ color_combo_init (GtkhtmlColorCombo *combo)
 	GtkWidget *window;
 	guint ii;
 
-	combo->priv = G_TYPE_INSTANCE_GET_PRIVATE (combo, GTKHTML_TYPE_COLOR_COMBO, GtkhtmlColorComboPrivate);
+	combo->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		combo, GTKHTML_TYPE_COLOR_COMBO, GtkhtmlColorComboPrivate);
 
 	state = gtkhtml_color_state_new ();
 	gtkhtml_color_combo_set_state (combo, state);
diff --git a/components/editor/gtkhtml-color-palette.c b/components/editor/gtkhtml-color-palette.c
index df169b0..17146dc 100644
--- a/components/editor/gtkhtml-color-palette.c
+++ b/components/editor/gtkhtml-color-palette.c
@@ -85,7 +85,9 @@ color_palette_init (GtkhtmlColorPalette *palette)
 		(GDestroyNotify) gdk_color_free,
 		(GDestroyNotify) NULL);
 
-	palette->priv = G_TYPE_INSTANCE_GET_PRIVATE (palette, GTKHTML_TYPE_COLOR_PALETTE, GtkhtmlColorPalettePrivate);
+	palette->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		palette, GTKHTML_TYPE_COLOR_PALETTE,
+		GtkhtmlColorPalettePrivate);
 	palette->priv->index = index;
 }
 
diff --git a/components/editor/gtkhtml-color-state.c b/components/editor/gtkhtml-color-state.c
index dfb90b8..2483a2a 100644
--- a/components/editor/gtkhtml-color-state.c
+++ b/components/editor/gtkhtml-color-state.c
@@ -260,7 +260,8 @@ color_state_init (GtkhtmlColorState *state)
 {
 	GtkhtmlColorPalette *palette;
 
-	state->priv = G_TYPE_INSTANCE_GET_PRIVATE (state, GTKHTML_TYPE_COLOR_STATE, GtkhtmlColorStatePrivate);
+	state->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		state, GTKHTML_TYPE_COLOR_STATE, GtkhtmlColorStatePrivate);
 
 	palette = gtkhtml_color_palette_new ();
 	gtkhtml_color_state_set_palette (state, palette);
diff --git a/components/editor/gtkhtml-color-swatch.c b/components/editor/gtkhtml-color-swatch.c
index f6620bd..83cee12 100644
--- a/components/editor/gtkhtml-color-swatch.c
+++ b/components/editor/gtkhtml-color-swatch.c
@@ -208,7 +208,8 @@ color_swatch_init (GtkhtmlColorSwatch *swatch)
 	GtkWidget *container;
 	GtkWidget *widget;
 
-	swatch->priv = G_TYPE_INSTANCE_GET_PRIVATE (swatch, GTKHTML_TYPE_COLOR_SWATCH, GtkhtmlColorSwatchPrivate);
+	swatch->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		swatch, GTKHTML_TYPE_COLOR_SWATCH, GtkhtmlColorSwatchPrivate);
 
 	widget = gtk_frame_new (NULL);
 	gtk_container_add (GTK_CONTAINER (swatch), widget);
diff --git a/components/editor/gtkhtml-combo-box.c b/components/editor/gtkhtml-combo-box.c
index a0927eb..ea46e42 100644
--- a/components/editor/gtkhtml-combo-box.c
+++ b/components/editor/gtkhtml-combo-box.c
@@ -354,7 +354,8 @@ combo_box_class_init (GtkhtmlComboBoxClass *class)
 static void
 combo_box_init (GtkhtmlComboBox *combo_box)
 {
-	combo_box->priv = G_TYPE_INSTANCE_GET_PRIVATE (combo_box, GTKHTML_TYPE_COMBO_BOX, GtkhtmlComboBoxPrivate);
+	combo_box->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		combo_box, GTKHTML_TYPE_COMBO_BOX, GtkhtmlComboBoxPrivate);
 
 	combo_box->priv->index = g_hash_table_new_full (
 		g_direct_hash, g_direct_equal,
diff --git a/components/editor/gtkhtml-editor.c b/components/editor/gtkhtml-editor.c
index 3088f22..8f67222 100644
--- a/components/editor/gtkhtml-editor.c
+++ b/components/editor/gtkhtml-editor.c
@@ -963,7 +963,8 @@ editor_class_init (GtkhtmlEditorClass *class)
 static void
 editor_init (GtkhtmlEditor *editor)
 {
-	editor->priv = G_TYPE_INSTANCE_GET_PRIVATE (editor, GTKHTML_TYPE_EDITOR, GtkhtmlEditorPrivate);
+	editor->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		editor, GTKHTML_TYPE_EDITOR, GtkhtmlEditorPrivate);
 	editor->vbox = g_object_ref_sink (gtk_vbox_new (FALSE, 0));
 	gtk_widget_show (editor->vbox);
 
diff --git a/components/editor/gtkhtml-face-action.c b/components/editor/gtkhtml-face-action.c
index 12b4c24..4e75dbb 100644
--- a/components/editor/gtkhtml-face-action.c
+++ b/components/editor/gtkhtml-face-action.c
@@ -244,7 +244,8 @@ face_action_iface_init (GtkhtmlFaceChooserIface *iface)
 static void
 face_action_init (GtkhtmlFaceAction *action)
 {
-	action->priv = G_TYPE_INSTANCE_GET_PRIVATE (action, GTKHTML_TYPE_FACE_ACTION, GtkhtmlFaceActionPrivate);
+	action->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		action, GTKHTML_TYPE_FACE_ACTION, GtkhtmlFaceActionPrivate);
 }
 
 GType
diff --git a/components/editor/gtkhtml-face-chooser-menu.c b/components/editor/gtkhtml-face-chooser-menu.c
index 7b99d40..3b836ce 100644
--- a/components/editor/gtkhtml-face-chooser-menu.c
+++ b/components/editor/gtkhtml-face-chooser-menu.c
@@ -136,7 +136,9 @@ face_chooser_menu_init (GtkhtmlFaceChooserMenu *chooser_menu)
 	GtkhtmlFaceChooser *chooser;
 	GList *list, *iter;
 
-	chooser_menu->priv = G_TYPE_INSTANCE_GET_PRIVATE (chooser_menu, GTKHTML_TYPE_FACE_CHOOSER_MENU, GtkhtmlFaceChooserMenuPrivate);
+	chooser_menu->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		chooser_menu, GTKHTML_TYPE_FACE_CHOOSER_MENU,
+		GtkhtmlFaceChooserMenuPrivate);
 
 	chooser = GTKHTML_FACE_CHOOSER (chooser_menu);
 	list = gtkhtml_face_chooser_get_items (chooser);
diff --git a/components/editor/gtkhtml-face-tool-button.c b/components/editor/gtkhtml-face-tool-button.c
index 8ddfe18..84c36d2 100644
--- a/components/editor/gtkhtml-face-tool-button.c
+++ b/components/editor/gtkhtml-face-tool-button.c
@@ -516,7 +516,9 @@ face_tool_button_init (GtkhtmlFaceToolButton *button)
 	GList *list, *iter;
 	gint ii;
 
-	button->priv = G_TYPE_INSTANCE_GET_PRIVATE (button, GTKHTML_TYPE_FACE_TOOL_BUTTON, GtkhtmlFaceToolButtonPrivate);
+	button->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		button, GTKHTML_TYPE_FACE_TOOL_BUTTON,
+		GtkhtmlFaceToolButtonPrivate);
 
 	/* Build the pop-up window. */
 
diff --git a/components/editor/gtkhtml-image-chooser-dialog.c b/components/editor/gtkhtml-image-chooser-dialog.c
index 64aea5d..cadf90a 100644
--- a/components/editor/gtkhtml-image-chooser-dialog.c
+++ b/components/editor/gtkhtml-image-chooser-dialog.c
@@ -253,7 +253,9 @@ gtkhtml_image_chooser_dialog_class_init (GtkhtmlImageChooserDialogClass *class)
 static void
 gtkhtml_image_chooser_dialog_init (GtkhtmlImageChooserDialog *dialog)
 {
-	dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (dialog, GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG, GtkhtmlImageChooserDialogPrivate);
+	dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		dialog, GTKHTML_TYPE_IMAGE_CHOOSER_DIALOG,
+		GtkhtmlImageChooserDialogPrivate);
 
 	g_signal_connect (
 		dialog, "update-preview",
diff --git a/components/editor/gtkhtml-spell-checker.c b/components/editor/gtkhtml-spell-checker.c
index eac7918..1b49dfc 100644
--- a/components/editor/gtkhtml-spell-checker.c
+++ b/components/editor/gtkhtml-spell-checker.c
@@ -237,7 +237,10 @@ spell_checker_class_init (GtkhtmlSpellCheckerClass *class)
 static void
 spell_checker_init (GtkhtmlSpellChecker *checker)
 {
-	checker->priv = G_TYPE_INSTANCE_GET_PRIVATE (checker, GTKHTML_TYPE_SPELL_CHECKER, GtkhtmlSpellCheckerPrivate);
+	checker->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		checker, GTKHTML_TYPE_SPELL_CHECKER,
+		GtkhtmlSpellCheckerPrivate);
+
 	checker->priv->broker = enchant_broker_init ();
 }
 
diff --git a/components/editor/gtkhtml-spell-dialog.c b/components/editor/gtkhtml-spell-dialog.c
index 9663997..c847f6b 100644
--- a/components/editor/gtkhtml-spell-dialog.c
+++ b/components/editor/gtkhtml-spell-dialog.c
@@ -419,7 +419,8 @@ spell_dialog_init (GtkhtmlSpellDialog *dialog)
 	GtkWidget *widget;
 	gchar *markup;
 
-	dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (dialog, GTKHTML_TYPE_SPELL_DIALOG, GtkhtmlSpellDialogPrivate);
+	dialog->priv = G_TYPE_INSTANCE_GET_PRIVATE (
+		dialog, GTKHTML_TYPE_SPELL_DIALOG, GtkhtmlSpellDialogPrivate);
 
 	g_signal_connect (
 		dialog, "notify::word", G_CALLBACK (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]