summaryrefslogtreecommitdiff
path: root/gtk/gtkprintcontext.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-05-31 13:38:10 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-05-31 13:38:10 +0000
commit084729ac7fc2748f215250946332e8ab7b0bbcfb (patch)
treed280821327ad4478080558c72b87f8b1d6425bb9 /gtk/gtkprintcontext.c
parentc6a99eea8c9a170a8b8470fc6c9dfa3765e54982 (diff)
downloadgtk+-084729ac7fc2748f215250946332e8ab7b0bbcfb.tar.gz
Change some function names to be longer and better.
2006-05-31 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintcontext.h: * gtk/gtkprintcontext.c: * gtk/gtkprintoperation.c: * gtk/gtkprintoperation-unix.c: Change some function names to be longer and better. gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap gtk_print_context_create_context -> gtk_print_context_create_pango_context gtk_print_context_create_layout -> gtk_print_context_create_pango_layout Update all callers.
Diffstat (limited to 'gtk/gtkprintcontext.c')
-rw-r--r--gtk/gtkprintcontext.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtkprintcontext.c b/gtk/gtkprintcontext.c
index 7464933ed4..5e68ae2173 100644
--- a/gtk/gtkprintcontext.c
+++ b/gtk/gtkprintcontext.c
@@ -209,7 +209,7 @@ _gtk_print_context_set_page_setup (GtkPrintContext *context,
}
/**
- * gtk_print_context_get_cairo:
+ * gtk_print_context_get_cairo_context:
* @context: a #GtkPrintContext
*
* Obtains the cairo context that is associated with the
@@ -220,7 +220,7 @@ _gtk_print_context_set_page_setup (GtkPrintContext *context,
* Since: 2.10
*/
cairo_t *
-gtk_print_context_get_cairo (GtkPrintContext *context)
+gtk_print_context_get_cairo_context (GtkPrintContext *context)
{
g_return_val_if_fail (GTK_IS_PRINT_CONTEXT (context), NULL);
@@ -343,7 +343,7 @@ gtk_print_context_get_dpi_y (GtkPrintContext *context)
}
/**
- * gtk_print_context_get_fontmap:
+ * gtk_print_context_get_pango_fontmap:
* @context: a #GtkPrintContext
*
* Returns a #PangoFontMap that is suitable for use
@@ -354,7 +354,7 @@ gtk_print_context_get_dpi_y (GtkPrintContext *context)
* Since: 2.10
*/
PangoFontMap *
-gtk_print_context_get_fontmap (GtkPrintContext *context)
+gtk_print_context_get_pango_fontmap (GtkPrintContext *context)
{
g_return_val_if_fail (GTK_IS_PRINT_CONTEXT (context), NULL);
@@ -362,7 +362,7 @@ gtk_print_context_get_fontmap (GtkPrintContext *context)
}
/**
- * gtk_print_context_create_context:
+ * gtk_print_context_create_pango_context:
* @context: a #GtkPrintContext
*
* Creates a new #PangoContext that can be used with the
@@ -373,7 +373,7 @@ gtk_print_context_get_fontmap (GtkPrintContext *context)
* Since: 2.10
*/
PangoContext *
-gtk_print_context_create_context (GtkPrintContext *context)
+gtk_print_context_create_pango_context (GtkPrintContext *context)
{
PangoContext *pango_context;
@@ -385,7 +385,7 @@ gtk_print_context_create_context (GtkPrintContext *context)
}
/**
- * gtk_print_context_create_layout:
+ * gtk_print_context_create_pango_layout:
* @context: a #GtkPrintContext
*
* Creates a new #PangoLayout that is suitable for use
@@ -396,14 +396,14 @@ gtk_print_context_create_context (GtkPrintContext *context)
* Since: 2.10
*/
PangoLayout *
-gtk_print_context_create_layout (GtkPrintContext *context)
+gtk_print_context_create_pango_layout (GtkPrintContext *context)
{
PangoContext *pango_context;
PangoLayout *layout;
g_return_val_if_fail (GTK_IS_PRINT_CONTEXT (context), NULL);
- pango_context = gtk_print_context_create_context (context);
+ pango_context = gtk_print_context_create_pango_context (context);
layout = pango_layout_new (pango_context);
pango_cairo_update_context (context->cr, pango_context);