summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 20:40:36 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd375dce9f52fd9830069a6fd9287abde93d3f24b (patch)
treecd759ec130e07189ab7f19ebd03b8e89923aaa7f /gtk/gtkprintoperation.c
parentd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (diff)
downloadgtk+-d375dce9f52fd9830069a6fd9287abde93d3f24b.tar.gz
Replace "gchar" with "char"
Diffstat (limited to 'gtk/gtkprintoperation.c')
-rw-r--r--gtk/gtkprintoperation.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c
index 1410eea5a0..5a43683afb 100644
--- a/gtk/gtkprintoperation.c
+++ b/gtk/gtkprintoperation.c
@@ -528,7 +528,7 @@ typedef struct
GtkPrintContext *print_context;
GtkWindow *parent;
cairo_surface_t *surface;
- gchar *filename;
+ char *filename;
gboolean wait;
PrintPagesData *pages_data;
} PreviewOp;
@@ -1520,7 +1520,7 @@ gtk_print_operation_get_print_settings (GtkPrintOperation *op)
**/
void
gtk_print_operation_set_job_name (GtkPrintOperation *op,
- const gchar *job_name)
+ const char *job_name)
{
GtkPrintOperationPrivate *priv = gtk_print_operation_get_instance_private (op);
@@ -1690,10 +1690,10 @@ gtk_print_operation_set_track_print_status (GtkPrintOperation *op,
void
_gtk_print_operation_set_status (GtkPrintOperation *op,
GtkPrintStatus status,
- const gchar *string)
+ const char *string)
{
GtkPrintOperationPrivate *priv = gtk_print_operation_get_instance_private (op);
- static const gchar *status_strs[] = {
+ static const char *status_strs[] = {
NC_("print operation status", "Initial state"),
NC_("print operation status", "Preparing to print"),
NC_("print operation status", "Generating data"),
@@ -1758,7 +1758,7 @@ gtk_print_operation_get_status (GtkPrintOperation *op)
* Returns: a string representation of the status
* of the print operation
**/
-const gchar *
+const char *
gtk_print_operation_get_status_string (GtkPrintOperation *op)
{
g_return_val_if_fail (GTK_IS_PRINT_OPERATION (op), "");
@@ -1855,7 +1855,7 @@ gtk_print_operation_set_allow_async (GtkPrintOperation *op,
*/
void
gtk_print_operation_set_custom_tab_label (GtkPrintOperation *op,
- const gchar *label)
+ const char *label)
{
GtkPrintOperationPrivate *priv = gtk_print_operation_get_instance_private (op);
@@ -1884,7 +1884,7 @@ gtk_print_operation_set_custom_tab_label (GtkPrintOperation *op,
*/
void
gtk_print_operation_set_export_filename (GtkPrintOperation *op,
- const gchar *filename)
+ const char *filename)
{
GtkPrintOperationPrivate *priv = gtk_print_operation_get_instance_private (op);
@@ -2231,7 +2231,7 @@ static void
update_progress (PrintPagesData *data)
{
GtkPrintOperationPrivate *priv = gtk_print_operation_get_instance_private (data->op);
- gchar *text = NULL;
+ char *text = NULL;
if (data->progress)
{