diff --git a/ChangeLog b/ChangeLog index b5e8fe6f6c..dbe7994a32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-28 Matthias Clasen + * gtk/gtkprintoperation.c: + * gtk/gtkprogressbar.c: * gtk/gtkmessagedialog.c: * gtk/gtknotebook.c: * gtk/gtkprinter.c: diff --git a/gtk/gtkprintoperation.c b/gtk/gtkprintoperation.c index d08f255067..14b3a6a762 100644 --- a/gtk/gtkprintoperation.c +++ b/gtk/gtkprintoperation.c @@ -164,6 +164,8 @@ gtk_print_operation_init (GtkPrintOperation *operation) priv->unit = GTK_UNIT_PIXEL; appname = g_get_application_name (); + if (appname == NULL) + appname = ""; /* translators: this string is the default job title for print * jobs. %s gets replaced by the application name, %d gets replaced * by the job number. diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c index 53b746bd64..babb6ac9ec 100644 --- a/gtk/gtkprogressbar.c +++ b/gtk/gtkprogressbar.c @@ -187,7 +187,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class) g_param_spec_string ("text", P_("Text"), P_("Text to be displayed in the progress bar"), - "%P %%", + NULL, GTK_PARAM_READWRITE)); /**