g_strdup_print does not exist, the function is g_strdup_printf.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user