summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-08-09 02:07:47 +0200
committerMatthias Clasen <mclasen@redhat.com>2011-08-15 18:57:57 -0400
commit5b9857d9b926c3bd2e514d0418c3dbdf64fd95ae (patch)
tree14781de18632311375b8e705afecb2ba793f7dad /gtk/gtkfontchooser.c
parent8dbdfa7e73d1df8146346c9972e49e98d9629531 (diff)
downloadgtk+-5b9857d9b926c3bd2e514d0418c3dbdf64fd95ae.tar.gz
Rename some statics
gtk_font_chooser_ref_{family,face} -> gtk_font_chooser_set_{family,face}
Diffstat (limited to 'gtk/gtkfontchooser.c')
-rw-r--r--gtk/gtkfontchooser.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index c14dee8570..60c71c6e39 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -149,9 +149,9 @@ static void gtk_font_chooser_screen_changed (GtkWidget *widget,
GdkScreen *previous_screen);
static void gtk_font_chooser_style_updated (GtkWidget *widget);
-static void gtk_font_chooser_ref_family (GtkFontChooser *fontchooser,
+static void gtk_font_chooser_set_family (GtkFontChooser *fontchooser,
PangoFontFamily *family);
-static void gtk_font_chooser_ref_face (GtkFontChooser *fontchooser,
+static void gtk_font_chooser_set_face (GtkFontChooser *fontchooser,
PangoFontFace *face);
static void gtk_font_chooser_bootstrap_fontlist (GtkFontChooser *fontchooser);
@@ -447,8 +447,8 @@ cursor_changed_cb (GtkTreeView *treeview,
set_range_marks (fontchooser->priv, fontchooser->priv->size_slider, sizes, n_sizes);
- gtk_font_chooser_ref_family (fontchooser, family);
- gtk_font_chooser_ref_face (fontchooser, face);
+ gtk_font_chooser_set_family (fontchooser, family);
+ gtk_font_chooser_set_face (fontchooser, face);
/* Free resources */
g_object_unref ((gpointer)family);
@@ -908,8 +908,8 @@ gtk_font_chooser_finalize (GObject *object)
{
GtkFontChooser *fontchooser = GTK_FONT_CHOOSER (object);
- gtk_font_chooser_ref_family (fontchooser, NULL);
- gtk_font_chooser_ref_face (fontchooser, NULL);
+ gtk_font_chooser_set_family (fontchooser, NULL);
+ gtk_font_chooser_set_face (fontchooser, NULL);
G_OBJECT_CLASS (gtk_font_chooser_parent_class)->finalize (object);
}
@@ -938,7 +938,7 @@ gtk_font_chooser_style_updated (GtkWidget *widget)
}
static void
-gtk_font_chooser_ref_family (GtkFontChooser *fontchooser,
+gtk_font_chooser_set_family (GtkFontChooser *fontchooser,
PangoFontFamily *family)
{
GtkFontChooserPrivate *priv = fontchooser->priv;
@@ -951,7 +951,7 @@ gtk_font_chooser_ref_family (GtkFontChooser *fontchooser,
}
static void
-gtk_font_chooser_ref_face (GtkFontChooser *fontchooser,
+gtk_font_chooser_set_face (GtkFontChooser *fontchooser,
PangoFontFace *face)
{
GtkFontChooserPrivate *priv = fontchooser->priv;