mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-07 11:20:09 +00:00
Formatting fixes
This commit is contained in:
parent
0a54ad1187
commit
79ada68f8c
@ -151,7 +151,6 @@ struct _GtkAboutDialogPrivate
|
|||||||
gchar **documenters;
|
gchar **documenters;
|
||||||
gchar **artists;
|
gchar **artists;
|
||||||
|
|
||||||
|
|
||||||
GSList *credit_sections;
|
GSList *credit_sections;
|
||||||
|
|
||||||
gboolean credits_page_initialized;
|
gboolean credits_page_initialized;
|
||||||
@ -376,7 +375,6 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
|
|||||||
NULL,
|
NULL,
|
||||||
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
GTK_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GtkAboutDialog:comments:
|
* GtkAboutDialog:comments:
|
||||||
*
|
*
|
||||||
@ -1078,13 +1076,9 @@ gtk_about_dialog_show (GtkWidget *widget)
|
|||||||
const gchar *
|
const gchar *
|
||||||
gtk_about_dialog_get_program_name (GtkAboutDialog *about)
|
gtk_about_dialog_get_program_name (GtkAboutDialog *about)
|
||||||
{
|
{
|
||||||
GtkAboutDialogPrivate *priv;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
||||||
|
|
||||||
priv = about->priv;
|
return about->priv->name;
|
||||||
|
|
||||||
return priv->name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -1433,13 +1427,9 @@ gtk_about_dialog_set_wrap_license (GtkAboutDialog *about,
|
|||||||
const gchar *
|
const gchar *
|
||||||
gtk_about_dialog_get_website (GtkAboutDialog *about)
|
gtk_about_dialog_get_website (GtkAboutDialog *about)
|
||||||
{
|
{
|
||||||
GtkAboutDialogPrivate *priv;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
||||||
|
|
||||||
priv = about->priv;
|
return about->priv->website_url;
|
||||||
|
|
||||||
return priv->website_url;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1485,13 +1475,9 @@ gtk_about_dialog_set_website (GtkAboutDialog *about,
|
|||||||
const gchar *
|
const gchar *
|
||||||
gtk_about_dialog_get_website_label (GtkAboutDialog *about)
|
gtk_about_dialog_get_website_label (GtkAboutDialog *about)
|
||||||
{
|
{
|
||||||
GtkAboutDialogPrivate *priv;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
||||||
|
|
||||||
priv = about->priv;
|
return about->priv->website_text;
|
||||||
|
|
||||||
return priv->website_text;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1539,13 +1525,9 @@ gtk_about_dialog_set_website_label (GtkAboutDialog *about,
|
|||||||
const gchar * const *
|
const gchar * const *
|
||||||
gtk_about_dialog_get_authors (GtkAboutDialog *about)
|
gtk_about_dialog_get_authors (GtkAboutDialog *about)
|
||||||
{
|
{
|
||||||
GtkAboutDialogPrivate *priv;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
||||||
|
|
||||||
priv = about->priv;
|
return (const gchar * const *) about->priv->authors;
|
||||||
|
|
||||||
return (const gchar * const *) priv->authors;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1594,13 +1576,9 @@ gtk_about_dialog_set_authors (GtkAboutDialog *about,
|
|||||||
const gchar * const *
|
const gchar * const *
|
||||||
gtk_about_dialog_get_documenters (GtkAboutDialog *about)
|
gtk_about_dialog_get_documenters (GtkAboutDialog *about)
|
||||||
{
|
{
|
||||||
GtkAboutDialogPrivate *priv;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
||||||
|
|
||||||
priv = about->priv;
|
return (const gchar * const *)about->priv->documenters;
|
||||||
|
|
||||||
return (const gchar * const *)priv->documenters;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1649,13 +1627,9 @@ gtk_about_dialog_set_documenters (GtkAboutDialog *about,
|
|||||||
const gchar * const *
|
const gchar * const *
|
||||||
gtk_about_dialog_get_artists (GtkAboutDialog *about)
|
gtk_about_dialog_get_artists (GtkAboutDialog *about)
|
||||||
{
|
{
|
||||||
GtkAboutDialogPrivate *priv;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL);
|
||||||
|
|
||||||
priv = about->priv;
|
return (const gchar * const *)about->priv->artists;
|
||||||
|
|
||||||
return (const gchar * const *)priv->artists;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user