[gtk+] g_strdup_print does not exist, the function is g_strdup_printf.



commit 3484246dc3a4c72b980c88d57fb4a88d331ee08d
Author: Xan Lopez <xan gnome org>
Date:   Mon Jul 20 09:58:22 2009 +0300

    g_strdup_print does not exist, the function is g_strdup_printf.

 gtk/gtkfilechooserdefault.c  |    2 +-
 gtk/gtkpagesetupunixdialog.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 1aa4672..bd48cde 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -10282,7 +10282,7 @@ recent_hide_entry (GtkFileChooserDefault *impl)
 
   /* Label */
   label = gtk_label_new (NULL);
-  tmp = g_strdup_print ("<b>%s</b>", _("Recently Used"));
+  tmp = g_strdup_printf ("<b>%s</b>", _("Recently Used"));
   gtk_label_set_markup_with_mnemonic (GTK_LABEL (label), tmp);
   gtk_box_pack_start (GTK_BOX (impl->recent_hbox), label, FALSE, FALSE, 0);
   g_free (tmp);
diff --git a/gtk/gtkpagesetupunixdialog.c b/gtk/gtkpagesetupunixdialog.c
index 2125051..1e90339 100644
--- a/gtk/gtkpagesetupunixdialog.c
+++ b/gtk/gtkpagesetupunixdialog.c
@@ -165,7 +165,7 @@ gtk_page_setup_unix_dialog_init (GtkPageSetupUnixDialog *dialog)
 						   G_TYPE_OBJECT);
 
   gtk_list_store_append (priv->printer_list, &iter);
-  tmp = g_strdup_print ("<b>%s</b>\n%s", _("Any Printer"), _("For portable documents"));
+  tmp = g_strdup_printf ("<b>%s</b>\n%s", _("Any Printer"), _("For portable documents"));
   gtk_list_store_set (priv->printer_list, &iter,
                       PRINTER_LIST_COL_NAME, tmp,
                       PRINTER_LIST_COL_PRINTER, NULL,



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