g_strdup_print does not exist, the function is g_strdup_printf.

This commit is contained in:
Xan Lopez
2009-07-20 09:58:22 +03:00
parent 267d209441
commit 3484246dc3
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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,